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
Best wishes from Riley.
+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
* ftp://ftp.MemAlpha.cx/pub/rhw/Linux
* http://www.MemAlpha.cx/kernel.versions.html