On Fri, 2004-09-03 at 22:18, Jakub Jelinek wrote: > Furthermore you can > sed -i -e 's/foo/bar/' baz > too. Yes, as long as you assume sed >= 3.95 for '-i' (which means >= RH9, probably not an issue here) and are careful with your regexps. Unlike perl, sed has hideous regexp syntax/semantic incompatibilities between versions.