Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Dec 2010 22:37:01 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/bin/sh jobs.c
Message-ID:  <201012052237.oB5MbLQ6055481@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jilles      2010-12-05 22:37:01 UTC

  FreeBSD src repository

  Modified files:
    bin/sh               jobs.c 
  Log:
  SVN rev 216217 on 2010-12-05 22:37:01Z by jilles
  
  sh: Improve jobs output of pipelines.
  
  If describing the status of a pipeline, write all elements of the pipeline
  and show the status of the last process (which would also end up in $?).
  Only write one report per job, not one for every process that exits.
  
  To keep some earlier behaviour, if any process started by the shell in a
  foreground job terminates because of a signal, write a message about the
  signal (at most one message per job, however).
  
  Also, do not write messages about signals in the wait builtin in
  non-interactive shells. Only true foreground jobs now write such messages
  (for example, "Terminated").
  
  Revision  Changes    Path
  1.85      +83 -66    src/bin/sh/jobs.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012052237.oB5MbLQ6055481>