Bob Miller wrote:
Matthew Jarvis wrote:
This happens before the shell parses the command to break it into
words, so it just looks like there are two spaces between
"/usr/sbin/sendmail" and the first supplied argument.
So, in other words, it's fine. No bugs here...
Thanks All - that's al
Matthew Jarvis wrote:
> # change these to suit your needs
> SENDMAIL=/usr/sbin/sendmail # your Mail-Transfer-Agent
> SENDMAIL_OPTS= # and its required options
>
> Then later when it fires off the command, it looks like this:
>
>
> cat $TEMPFILE | $SENDMAIL $SENDMAIL_OPTS "$@"
>
On Thu, 16 Aug 2007, Matthew Jarvis wrote:
It's prolly unrelated to a problem I'm having, but I came across this in a
bash script that is supposed to send me an email when a certain task is done.
# change these to suit your needs
SENDMAIL=/usr/sbin/sendmail # your Mail-Transfer-Agent
SENDMAI
It's prolly unrelated to a problem I'm having, but I came across this in
a bash script that is supposed to send me an email when a certain task
is done.
# change these to suit your needs
SENDMAIL=/usr/sbin/sendmail # your Mail-Transfer-Agent
SENDMAIL_OPTS= # and its required opt