nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] m_getfld() bug fix

2013-12-07 18:38:44
Hi David,

    uniq >"$actual"

BTW, the comment says that's there to squash adjacent blank lines but it
would obviously do more than that.  This bit of awk does a `cat -s'.

    awk '!length && e {next} {e = !length} 1'

It's possible in sed too.  ;-)

Cheers, Ralph.

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>