Sed script to fix packed dired file
utzoo!decvax!duke!harpo!utah-cs!lepreau
utzoo!decvax!duke!harpo!utah-cs!lepreau
Mon Jun 7 15:58:33 AEST 1982
Folks tell me that I blew the packed up sh script of dired mods, being a
csh user. Here a one line sh script to fix it; it'll work either on the
raw news file (with headers and comments, etc) or on a file containing
only the script portion (beginning with ": This is".) Give it the file
name.
sed -e "1,/^: Just run it/d" -e "s/'EnDoFiNpUt'/EnDoFiNpUt/" $1 | sh
More information about the Comp.sources.unix
mailing list