[H-GEN] Mail program

Anthony Towns aj at azure.humbug.org.au
Sun Jun 27 03:42:27 EDT 2004


On Sat, Jun 26, 2004 at 11:38:09AM +1000, Greg Black wrote:
> [1] Yes, of course Mark would have written it in Perl; and
>     Andrae would have found a way to do it with one of his
>     perverse languages like Haskell; and I might have written it
>     in awk.

Pfft, amateurs.

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

Cheers,
aj

-- 
Anthony Towns <aj at humbug.org.au> <http://azure.humbug.org.au/~aj/>
Don't assume I speak for anyone but myself. GPG signed mail preferred.

``Like the ski resort of girls looking for husbands and husbands looking
  for girls, the situation is not as symmetrical as it might seem.''
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20040627/d58130f3/attachment.sig>


More information about the General mailing list