quoting bypass script?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I would think the more robust solution would be to use procmail to perform 
the wanted removals before depositing the mail in inbox. Sorry, I don't 
have the procmail syntax for this in my head, but procmail is well 
documented.
 On Mon, 17 Sep 2001, Dave Mielke wrote:

> [quoted lines by Jim Stevenson on September 17, 2001, at 04:33]
> 
> Hi:
> 
> >I missed the shell script that skips quoted lines starting with >.
> >
> >I would appreciate another post of it.
> 
> The single command:
> 
>     grep -v '^>'
> 
> will read standard input, remove lines which begin with ">", and write the
> remaining lines to standard output. To put it into a script, create a file
> which looks like:
> 
>     #!/bin/sh
>     grep -v '^>'
> 
> and then make that file executable.
> 
> >Will it work in any unix mail progrram,
> >to avoid the trouble of saving the file and processing it?
> 
> That's hard to say, since there are so many. It can certainly be made to work
> with pine, which supports specifiable viewer filters.
> 
> >Thanks.
> 
> You're welcome.
> 
> 

-- 
	
				Janina Sajka, Director
				Technology Research and Development
				Governmental Relations Group
				American Foundation for the Blind (AFB)

Email: janina@afb.net		Phone: (202) 408-8175

Chair, Accessibility SIG
Open Electronic Book Forum (OEBF)
http://www.openebook.org

Will electronic books surpass print books? Read our white paper,
Surpassing Gutenberg, at http://www.afb.org/ebook.asp

Download a free sample Digital Talking Book edition of Martin Luther
King Jr's inspiring "I Have A Dream" speech at
http://www.afb.org/mlkweb.asp

Learn how to make accessible software at
http://www.afb.org/accessapp.asp





[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]