Author: era eriksson <era(_at_)iki(_dot_)fi>
Original-Date: Thu, 18 Sep 1997 17:29:44 +0300 (EET DST)
Message-ID:
<199709181429(_dot_)RAA07772(_at_)kontti(_dot_)Helsinki(_dot_)FI>
Depending on what you want it for (logging?), you could do
something in TRAP:
TRAP='echo $LASTFOLDER | sed -e "s/appnmail //" >&2'
Hrm... that seems to work on its own, but I can't seem to make it work with
the rest of the TRAP command I already use for my logging:
TRAP="echo '
FROM $FROM
TO/CC $TO / $CC
SUBJECT $SUBJECT
"'
I wanted to add the LASTFOLDER line as the last line in the TRAP.
Is this possible?
TjL