Re: How to suppress Terminated... message after kill

2006-09-25 Thread Bob Proulx
Chet Ramey wrote: Com MN PG P E B Consultant 3 wrote: monitest.sh: line 9: 3486 Terminatedtail -f foo bar (1) Monitor was not set ... 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

RE: How to suppress Terminated... message after kill

2006-09-22 Thread Com MN PG P E B Consultant 3
Com MN PG P E B Consultant 3 wrote: (PID) Terminated tail -f file outfile Is there a way to suppress this message? (bash 2.05b) Use: set +m Why is monitor set for your script? That would only be typical for interactive shells but not typical for scripts. Good point,

How to suppress Terminated... message after kill

2006-09-20 Thread Com MN PG P E B Consultant 3
My bash program basically does: tail -f file outfile killpid=$! ... kill $killpid /dev/null 21 ... Still I get the message (PID) Terminated tail -f file outfile at the end of my script. Is there a way to suppress this message? (bash 2.05b) Ronald -- Ronald Fischer