procmail
[Top] [All Lists]

Passing \t argument via shell does not work - why ?

2007-08-16 16:27:15
I'm in procmail 3.22 and this statement works

LISTNAME=`/bin/echo $FIRSTPART  | /usr/bin/awk  -F= '{print $1}'`

But this statement does not work

LISTDESCRIPTION=`/bin/echo $MYLISTSDATA | /usr/bin/awk -F\t '{print 
$8}'`


What's the difference between passing in an = symbol and the \t ?

I've tried various combinations of -F\\t -F\\\t "-F\t" etc, but without 
success.

I'm guessing the backslash is causing Procmail to go a bit crazy.

Can anybody give me some insight.

Thank you.

mark
____________________________________________________________
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

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