[H-GEN] Mail program

Greg Black gjb at gbch.net
Fri Jul 2 02:11:34 EDT 2004


On 2004-07-02, Anthony Towns wrote:
> On Wed, Jun 30, 2004 at 10:43:30AM +1000, Greg Black wrote:
> > > sed -e ':x' -e 's/^\( *>>*\)\(  *>\)/\1>/' -e 'tx' -e 's/^\( *>>*\) */\1 /'
> > Both the above "work" in the sense that BSD sed is happy to
> > process them; the output is, of course, wrong.  But I don't know
> > if you meant to follow the specification here or not.
> 
> What difference do you think it has to the behaviour of the C program
> you presented?

I don't think it differs; it does differ.  The sed script above
removes white space after the ">" set; the C program I posted on
27 June at 16:31 preserves it.

Cheers, Greg




More information about the General mailing list