[clue-talk] Just to clarify

G. Richard Raab clue at raab.windbournetech.com
Wed Nov 30 09:41:20 MST 2005


On Wednesday 30 November 2005 09:35, G. Richard Raab wrote:
> On Wednesday 30 November 2005 09:13, Sean LeBlanc wrote:
> > ssmtp -f me at me.com me at me.com me2 at me.com < msg
> >
> > Here's where I run into the problem: Can any bash/sh gurus tell me how I
> > can I construct the message without writing to external file? The stream
> > of msg needs to look like this:
> >
> > Subject: $1
> > $1

#!/bin/bash

ssmtp -f me at me.com me at me.com me2 at me.com <<msg
Here's where I run into the problem: Can any bash/sh gurus tell me how I can
I construct the message without writing to external file? The stream of msg
needs to look like this:

Subject: $1
$1

Thanks,
msg

ls
echo "end of file here"

-- 
cheers
g.r.r.



More information about the clue-talk mailing list