sed script to add >'s to quoted text

Dan_Jacobson at ATT.COM Dan_Jacobson at ATT.COM
Sun Feb 24 03:51:59 AEST 1991


>>>>> On 23 Feb 91 15:31:35 GMT, dblack at pilot.njin.net (David Alan Black) said:

David> I am trying to devise a simple shell script to add ">" to the
David> beginning of every line of a text file containing an article or
David> letter which I wish to quote in my response.

You see, you are going about this all wrong.  Your mail reader or news
reader software should have the ability to put those ">"'s in (and
take them out on lengthy quoted material that you are reading) for
you.

Some users, like my bad self, prefer even better than those wimpy
">"'s, e.g., someting dynamically chosen, like "David>" here, produced
by GNU Emacs + GNUS + SuperCite, available in your grocers' freezer
(actually, read the gnu.* groups for availability).
-- 
Dan_Jacobson at ATT.COM  Naperville IL USA  +1 708-979-6364



More information about the Comp.unix.shell mailing list