[H-GEN] Mail program

Greg Black gjb at gbch.net
Sun Jun 27 03:53:29 EDT 2004


On 2004-06-27, Anthony Towns wrote:

> Pfft, amateurs.
> 
>         sed -e ':x;s/^\( *>>*\)\(  *>\)/\1>/;tx;s/^\( *>>*\) */\1 /'

$ cat bar | sed -e ':x;s/^\( *>>*\)\(  *>\)/\1>/;tx;s/^\( *>>*\) */\1 /' > barbar
sed: 2: ":x;s/^\( *>>*\)\(  *>\) ...": unused label 'x;s/^\( *>>*\)\(  *>\)/\1>/;tx;s/^\( *>>*\) */\1 /'

You must be using some funny version of sed ...

Cheers, Greg




More information about the General mailing list