sed script to add >'s to quoted text

David M. Katinsky dmk at pilot.njin.net
Sun Feb 24 03:16:46 AEST 1991


I think you want your sh(1) script to contain the following:

#!/bin/sh
sed -e 's/^/\>/'  $1 > $1.quoted


-- 

						dmk
David M. Katinsky
dmk at pilot.njin.net, dmk at njin.BITNET, {njin, rutgers}!dmk



More information about the Comp.unix.shell mailing list