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 interactive  shells  on  systems  that
                  support  it  (see  JOB  CONTROL above).  Background pro-
                  cesses run in a separate process group and a  line  con-
                  taining  their exit status is printed upon their comple-
                  tion.

Why is monitor set for your script?  That would only be typical for
interactive shells but not typical for scripts.  Figure out why
monitor mode is enabled for your script and you will have the answer
to both this problem and others that you have not noticed yet.

Bob


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

Reply via email to