[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: |
Robert Elz |
Subject: |
Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions |
Date: |
Sat, 04 May 2024 03:46:28 +0700 |
Date: Fri, 3 May 2024 13:11:00 -0400
From: Chet Ramey <chet.ramey@case.edu>
Message-ID: <ae17d6ee-7972-4009-90a6-1ac3d99ea665@case.edu>
| >> ./x1: line 2: 65124 Killed: 9 ( kill -9 $BASHPID )
| >
| > Never seen this and it's ugly too. Oh well, at least it doesn't show
| > the expanded arguments.
|
| It's been that way since 1995.
What I see (in 5.2, and 5.3 alpha 1) is:
jacaranda$ bash-5.3a1 -c '( kill -9 $BASHPID )'
bash-5.3a1: line 1: 29765 Killed ( kill -9 $BASHPID )
I have no idea what you think that "9" is useful for, IMO it is a
waste of space, and just confusing (and yes, I know SIGKILL is 9).
Similarly, in an interactive shell I see:
jacaranda$ ( kill -9 $BASHPID )
Killed
That's perfectly good enough for me, no need to change things for no good
reason.
kre
- 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, 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, 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, 2024/05/03
- Message not available
- Re: 5.3-alpha: the `jobs' builtin prints foreground dead jobs with function substitutions,
Robert Elz <=
- 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