Com MN PG P E B Consultant 3 wrote:

> monitest.sh: line 9:  3486 Terminated    tail -f foo >bar
> finish
> 
> 
>>From this we can see:
> 
> (1) Monitor was not set
> (2) Even if it had been set, +m would have turned it off
> (3) Still, the Terminated message is printed.
> 
> Strange, isn't it?

Not really.  If a pipeline in a shell script is killed by a
signal other than SIGINT or SIGPIPE, the shell reports it.  People
generally want to know when their processes are killed.  It's
independent of job control.

If you want to suppress the message, redirect stderr to /dev/null.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://cnswww.cns.cwru.edu/~chet/


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to