Riley Williams wrote:
> Hi Bob.
>
> > Ya need a recieve_mail script. It can be as simple as this...
>
> > #!/bin/sh
> > while read stuff
> > do echo $stuff >>/somedirectory/$1
> > done
>
> The above won't quite do what you wanted, since it will replace
> each white space sequence on any line with a single space. Try
> it with the following input sequence:
>
> Q> echo " Testing . Testing ..." | test
>
> Here's one that avoids that and other similar problems:
>
> Q> #!/bin/sh
> Q> cat >> /somedirectory/$1
>
Thanks Riley, I was looking for an example of how easy it was get started, I
confess I didn't look too hard. ;-)
--
Later...
Bob
http://gw.ko6ri.ampr.org/bbs