information here on replacing grep and mailonerr:
http://leaf.sourceforge.net/devel/cstein/Packages/Utilities.htm
Julian Church wrote:
> I've been having some bother with the mail command on my Eigerstein
> LRP. Checking up on older posts, I don't think I've fallen into the usual
> pitfalls.
>
> Basically this command works perfectly
>
> # mail -s "Daily LRP log" [EMAIL PROTECTED] < /var/log/messages.0
>
> but
>
> # mail -s "Daily LRP log" [EMAIL PROTECTED] < /var/log/syslog.0
>
> just gives me the message
>
> error: Unknown response.
>
> and then waits until I press ctrl+C before returning me to the command prompt.
>
> It was suggested on the LRP list (just as it was falling apart) that my
> version of /bin/grep (POSIXness v0.20 19990529) might have a bug that
> causes it to choke on the contents of syslog.0, so I should try a newer
> version. So I took a copy of the file (POSIXness v0.50 20000812) from an
> LRP 2.9.8 disk image I had, and tried to use it as a direct replacement for
> the file on my current system. That didn't seem to work though - lots of
> commands stopped working altogether, so I suppose this must be the wrong
> way to go about this.
>
> Can anyone give me a bit of advice? Will replacing grep fix the mail
> command? If so, how do I go about replacing grep?
_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-user