On 10/8/22 9:09 AM, Koichi Murase wrote:
Thank you for your reply and sorry for the late reply.
2022年10月4日(火) 0:56 Chet Ramey <chet.ra...@case.edu>:
I expect the same behavior of `f1' and `f2' as far as there are no
background jobs.
Why? f2 calls `jobs', and so requests information in a particular format,
which may or may not be the same format as the default (compact) format
bash uses when it reports job status before printing a prompt.
My point is *not* about the format of the output of `jobs', but
whether `jobs' should print the entries of foreground dead jobs, to
begin with.
Yes. I believe that `jobs' should print the status of jobs that the shell
would otherwise notify the user about. This includes foreground jobs that
are killed by a signal other than SIGINT/SIGPIPE.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/