procmail
[Top] [All Lists]

Re: echo expands * in string to list of file names

2002-01-15 12:09:00
At 12:31 2002-01-15 -0600, mark david mcCreary did say:

|  echo -e $TODAY "\t" $SENDER "\t" $SUBJECT >> log-addmsg
[snip - tried so very many variations, but didn't share them]

Was one of those variations simply ensuring that each variable was enclosed in doublequotes (which according to shell expansion should expand variables, but NOT wildcards), or, the simple route, enclose the whole lot:

        | echo -e "$TODAY\t$SENDER\t$SUBJECT" >> log-addmsg

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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