On 2/22/07, Michael MacIsaac <[EMAIL PROTECTED]> wrote:
> with bash I cannot write the file that I am reading...
The sed command now has an "in-place" flag:
-i[SUFFIX], --in-place[=SUFFIX]
edit files in place (makes backup if extension supplied)
Never too old to learn... I did not realize sed would work on files
rather than stdin. Now I can just
sed -i.bak 's/old string/new string/' files..
Thanks. Rob
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390