> 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)

> But with bash this does not leave anything...
I think you would want to escape the periods and omit the trailing pipe:

> cat ifcfg-*4000 | sed 's/.96.70/.96.71/' | > ifcfg-qeth-bus-ccw-0.0.4010
becomes:
> cat ifcfg-*4000 | sed 's/\.96\.70/.96.71/' > ifcfg-qeth-bus-ccw-0.0.4010

"Mike MacIsaac" <[EMAIL PROTECTED]>   (845) 433-7061

----------------------------------------------------------------------
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

Reply via email to