I've been experimenting with some pipes just to see how they work.
Little things like emailing my other account to see who is logged on there.
The commands work, but I keep getting these messages:
setenv: Too many arguments.
From: Command not found.
Missing name for redirect.
I don't get it. Here's an example of what I mean:
PATH=/bin:/usr/bin:/usr/local/bin:/usr/ucb
MAILDIR=$HOME/Mailboxes
LOGFILE=$HOME/.procmail.log
:0
*^Subject: send_who
|/usr/local/bin/who | Mail -s "who output"
476tjl(_at_)ptsmail(_dot_)ptsem(_dot_)edu
When I send a message with subject "send_who" it does what it should and
the reply is sent to 476tjl(_at_)ptsmail(_dot_)ptsem(_dot_)edu, but I get an
error in the
logfile as I indicated above.
I'm new at this, can someone explain to me what I'm doing wrong? Small
words appreciated...
TjL