![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to read and write a random row from a file? | sashankkrk | UNIX for Dummies Questions & Answers | 9 | 05-13-2008 08:26 AM |
| read and write from a file | rinku | Shell Programming and Scripting | 2 | 01-11-2008 01:22 AM |
| How to read and write directory or file contents in c++ ? | namrata5 | High Level Programming | 3 | 09-28-2007 04:58 PM |
| popening for read and write | szzz | High Level Programming | 1 | 11-18-2003 12:05 PM |
| read, write & STDOUT_FILENO.... | M3xican | High Level Programming | 2 | 07-17-2002 05:41 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
sed to read and write to very same file
This is likely to be a dumb one.
How can I use sed to substitute string occurances having it read from an input file and write to this very same file ? I have a file with lots of occurances of '2006', I want to change it to '2007', but I'd like these changes to be saved on the input file. How do I achieve this ? Thanks in advance, Abrahao, Brazil. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|