Cameron Simpson wrote:
----------------->>>>
Yes and no. I have reasons to loathe and despise perl's -i mode
(it uses unlink/rename, which mangles ownership and perms).

So I use bsed:

        http://www.zip.com.au/~cs/scripts/bsed

which is a wrapper for sed that does in-place edit, thus:

        bsed 's/<USERNAME>/joe.somebody/g' file1 file2 file3...

Fetch it and use. It's extremely useful, to me anyway.
----------------->>>>

I have to say that your script was the simple solution I needed thanks.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to