{ TRAP='mv $LASTFOLDER ${LASTFOLDER}:2,S' }
gives me:
usage: mv [-f | -i | -n] [-v] source target
mv [-f | -i | -n] [-v] source ... directory
if the $LASTFOLDER name contains a space.
can i just
{ TRAP='mv $\LASTFOLDER ${LASTFOLDER}:2,S' }
or
{ TRAP='mv "$LASTFOLDER" "${LASTFOLDER}:2,S"' }
??
--
Anybody who could duck the Vietnam war can certainly duck a couple of
shoes. -- Chris Gehlker
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail