Stupid scripting question -- FAQ-ish
Net Llama!
netllama
Mon May 17 11:43:16 PDT 2004
On Mon, 20 Jan 2003, Tim Wunder wrote:
> On 1/20/2003 12:38 PM, someone claiming to be Net Llama! wrote:
> > A non-sendmail specific version:
> > mail -s "GNUCash update" tim at thewunders.org < "message f00"
> >
> >
> >
> <snip>
>
> I was trying this, but it would fail on me. I just tried again and bash
> gives me this error:
> bash: message f00: No such file or directory
>
> Maybe some kind of RH8-ism is preventing this from working :-(
> Although I rather think it's user error...
ahhh..try redirecting a file, rather than "message f00", and it should
work. there are other ways, like cat'ing something or echo'ing it.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo http://netllama.ipfox.com
More information about the Linux-users
mailing list