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

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

2006-09-22 Thread Chet Ramey
Com MN PG P E B Consultant 3 wrote: > monitest.sh: line 9: 3486 Terminatedtail -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? No

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. G

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

2006-09-20 Thread Bob Proulx
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 Or: set +o monitor -m Monitor mode. Job control is enabled. This option is on by default for i