Computing.Net > Forums > Unix > sed \w to append to file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

sed \w to append to file

Reply to Message Icon

Name: nmf
Date: May 6, 2006 at 16:55:42 Pacific
OS: mac osx
CPU/Ram: emac
Product: apple
Comment:

in a sed file I'd like to append the line to another file if it
matches and substitutes

s/abc/cat/w filename

However I don't want it to create a new file for the sed, but
append to an existing file

Is it possible in the sed?



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: sed \w to append to file

Ask questions, append answr to file www.computing.net/answers/unix/ask-questions-append-answr-to-file/5968.html

Write to file www.computing.net/answers/unix/write-to-file/2878.html

quick paste string to file www.computing.net/answers/unix/quick-paste-string-to-file/8110.html