Don't have something like that at hand right now but you could use the DirPlus() UDF to enumerate all files, the ReadFile() UDF to read each file one by one, the build in InStr() function to see if the line has the text you are looking for and add some stuff to it if it has, after all this write the line to a temp file using the build in WriteLine function, rename the original file to .old or something and rename the temp file to the original filename.
I'm sure that there are other ways but this is one example that would work.

UDF Library » DirPlus() - a recursive dir tool
UDF Library » ReadFile() - Read a file into an array
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.