> 2: You might want bsed: > > Page: > http://www.cskk.ezoshosting.com/cs/css/bsed.html > > Script: > http://www.cskk.ezoshosting.com/cs/css/bin/bsed > > Bsed is a wrapper for sed. It takes pretty well the same arguments as sed, > but edits files in place. I frequently use it for batch edits; it's very > handy. Example: > > bsed '4s/that/that/' filename.txt > > Replace "this" with "that" on line 4. It essentially does all the redirection > of the first sed with error handling, temp files and such. > > Cheers, check out "sed -i"