procmail
[Top] [All Lists]

Re: Piping into a variable

2000-12-08 04:37:39
On Thu, Dec 07, 2000 at 03:24:05PM -0500, Stephen A. Cochran wrote:

I realize that this will also give me a leading space, but I'm not concered
about that. The following doesn't seem to work for me though:

:0
1=| formail -xTo:
2=| formail -r
3=| formail -xSubject:
| perl ./tester.pl "$1" "$2" "$3"

Any insights as to what newbie mistake I'm making?

If I'm not mistaken, $[1-9] are reserved variables in shellscript, used for
reading commandline arguments. I would use other variables and then try again,
see if that solves anything.

-- 
GUI
What your computer becomes after spilling your coffee on it.
(pronounced 'gooey')

_______________________________________________
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>