It was Tue, 5 Jun 2001 23:55:02 -0400 when Jon Doe wrote:

>I know it has to be pretty simple but I can't figure it out. How can I right 
>a bash script to remove the > from forwarded emails?

You have to have the e-mail in a separate file (like the MH mail structure).
Then you can test the first character of a line and use the 'cut' command to
take it off if it is a >

See man bash for info on how to determine the first character of a line...

Paul

--
"Avoiding danger is no safer in the long run than outright 
exposure.  The fearful are caught as often as the bold."
-Helen Keller

http://nlpagan.net -  Registered Linux User 174403
       Linux Mandrake 7.2 - Sylpheed 0.4.66
    ** http://www.care2.com - when you care **

Reply via email to