Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?

Liste des GroupesRevenir à cu shell 
Sujet : Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.unix.shell
Date : 12. May 2024, 23:48:22
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v1rgvn$31c1v$1@dont-email.me>
References : 1 2 3 4 5
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 12.05.2024 18:51, Kenny McCormack wrote:
In article <v1qr6l$2qsv6$1@dont-email.me>,
Janis Papanagnou  <janis_papanagnou+ng@hotmail.com> wrote:
...
Job numbers are reused after it has notified you of termination of the
previous job. At least in Bash.
>
Also the same behavior in Ksh, ever since I can remember; lowest job
number "available" gets re-used first. (Where "available" means that
its finishing status has been reported and not that the job finished.)
>
Nope.  Sorry.
>
I read that as "in Bash it's not the case". - Can't tell; I can just
say that what LDO was claiming for Bash at least is the behavior for
Ksh. (You are not arguing that Ksh would behave differently, do you?)
 
You said that it does the right thing in ksh (*).  LDO claimed
(incorrectly) that it does the right thing in bash.  You then claimed that
it does the same thing in ksh as in bash, which is, clearly, incorrect.
Hence my Nope, Sorry.

I was assuming that LDO made a correct claim. But all I wanted to say
was that ksh is doing what LDO was describing. It wasn't my intention
to give the impression that I verified what Bash would do - Bash is
not the shell I am using.

 
(*) I have, just now, verified that it does the right thing in ksh - that
is, whatever version of ksh was laying around on this system for me to test
with.

Not sure what the Right Thing would be. After all (for me) the choice
of %n is no more or less "right" than the choice of PIDs are; all I
need is certainty about validity in certain instances of time, not so
much whether or when the numbering is reused, restarted from 1.

Is there any practical problem I'm unaware about?

Janis

 
[...]


Date Sujet#  Auteur
11 May 24 * When/why does the shell (bash) (sometimes) not re-cycle job IDs?15Kenny McCormack
12 May 24 `* Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?14Christian Weisgerber
12 May 24  +* Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?12Lawrence D'Oliveiro
12 May 24  i+- Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?1vallor
12 May 24  i+* Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?6Janis Papanagnou
12 May 24  ii+* Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?4Kenny McCormack
12 May 24  iii`* Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?3Janis Papanagnou
12 May 24  iii `* Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?2Kenny McCormack
13 May 24  iii  `- Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?1Janis Papanagnou
12 May 24  ii`- Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?1Lawrence D'Oliveiro
12 May 24  i+- Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?1Kenny McCormack
12 May 24  i`* Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?3Christian Weisgerber
12 May 24  i `* Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?2Lawrence D'Oliveiro
13 May 24  i  `- Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?1Christian Weisgerber
12 May 24  `- Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?1Kenny McCormack

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal