[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with funct
From: |
Chet Ramey |
Subject: |
Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions |
Date: |
Fri, 3 May 2024 11:41:53 -0400 |
User-agent: |
Mozilla Thunderbird |
On 5/3/24 10:36 AM, Oğuz wrote:
On Friday, May 3, 2024, Chet Ramey <chet.ramey@case.edu
<mailto:chet.ramey@case.edu>> wrote:
Which is more confusing?
The latter, it doesn't say what was killed. The former looks different from
what `jobs' prints and is more informative so it would be nice to have in
an interactive shell. Not sure how people would react if their scripts
started printing that though, take more people's opinions on that please.
We're only talking about interactive shells here. Non-interactive shells
have printed something like this, but including the pid, for forever:
./x1: line 2: 65124 Killed: 9 ( kill -9 $BASHPID )
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature
- Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions, (continued)
- Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions, G. Branden Robinson, 2024/05/02
- Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions, Chet Ramey, 2024/05/02
- Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions, Oğuz, 2024/05/02
- Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions, Chet Ramey, 2024/05/02
- Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions, Oğuz, 2024/05/02
- Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions, Chet Ramey, 2024/05/02
- Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions, Oğuz, 2024/05/02
- Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions, Chet Ramey, 2024/05/02
- Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions, Chet Ramey, 2024/05/03
- Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions, Oğuz, 2024/05/03
- Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions,
Chet Ramey <=
- Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions, Oğuz, 2024/05/03
- Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions, Chet Ramey, 2024/05/03
- Message not available
- Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions, Robert Elz, 2024/05/03
- Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions, Chet Ramey, 2024/05/06
- Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions, Robert Elz, 2024/05/02
Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions, Chet Ramey, 2024/05/02