Dear Lazyweb, I have many files, some have lines containing "foobar" in the line somewhere. I want to comment every line that contains "foobar" with a leading "#". From bash. I'm presuming that there are bash, awk, find, sed and perl one liners for this. Best regards, Richard