Edit a group of files in place
The sed command in unix runs an editor command over its input file(s).
owsed is a simple script extends sed functionality so that it replaces the original file with the edited version.
I did not write this script originally. I modified on a script (called overwrite, I think) on page 154 of the excellent book
The Unix Programming Environment by Brian Kernighan and Rob Pike.
If owsed is typed without any arguments it displays a brief usage message:
Usage: "owsed sed-command file(s)" modifies file(s) in-place with sed
Previous  |  Next ]     [ Up  |  First  |  Last ]     (Article 36 of 485)
Comments, flames, broken links?
Please send email to maintainer@intricate-simplicity.com