Sujet : Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?
De : gazelle (at) *nospam* shell.xmission.com (Kenny McCormack)
Groupes : comp.unix.shellDate : 12. May 2024, 04:29:30
Autres entêtes
Organisation : The official candy of the new Millennium
Message-ID : <v1p9ia$s8og$1@news.xmission.com>
References : 1 2 3
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <
v1p1kf$2ake7$1@dont-email.me>,
Lawrence D'Oliveiro <
ldo@nz.invalid> wrote:
On Sat, 11 May 2024 22:44:03 -0000 (UTC), Christian Weisgerber wrote:
>
If no job is running, a new job gets 1, otherwise new jobs are numbered
consecutively.
>
Job numbers are reused after it has notified you of termination of the
previous job. At least in Bash.
No, they don't. That's the point.
As Christian notes, they only get reused (starting over at #1) if there
aren't any jobs.
-- "Every time Mitt opens his mouth, a swing state gets its wings."(Should be on a bumper sticker)