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
| Previous by Date: | Re: [Nmh-workers] m_getfld() bug fix, Ralph Corderoy |
|---|---|
| Next by Date: | Re: [Nmh-workers] m_getfld() bug fix, David Levine |
| Previous by Thread: | Re: [Nmh-workers] m_getfld() bug fix, Ralph Corderoy |
| Next by Thread: | Re: [Nmh-workers] m_getfld() bug fix, Rickard Carlsson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |