On Fri, 25 Apr 1997 17:56:11 -0500 (CDT), dattier(_at_)wwa(_dot_)com
(David W. Tamkin) said:
:0hf # double the head
| sed -e H -e '$ G'
:0hf # invert first head, followed by $SBDIR/junk before second head
| formail -rt -A"X-Loop: $NOLOOP" ; cat $SBDIR/junk
:0 # send back; -oi is usually implicit
! -t
That's beautiful!
If you can be sure that the head fits into $LINEBUF, you can condense the
first two recipes into one:
It seems likely that the head will fit into LINEBUF, and the shorter
recipe appeals to me, but I much prefer removing the dependency on
LINEBUF.
Mike