Deutsch   English   Français   Italiano  
<v1r9rb$2vljb$4@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.unix.shell
Subject: Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?
Date: Sun, 12 May 2024 20:46:35 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <v1r9rb$2vljb$4@dont-email.me>
References: <v1oi0d$rrf5$3@news.xmission.com>
	<slrnv3vt5j.1gfp.naddy@lorvorc.mips.inka.de> <v1p1kf$2ake7$1@dont-email.me>
	<slrnv41414.1vaq.naddy@lorvorc.mips.inka.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 12 May 2024 22:46:35 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="98653f459e1a4c07d89f5088126edc2d";
	logging-data="3135083"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19XgnxG+spVc2gycBkoxiXV"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:l9RpGKDHZSJWuTkEvMTeqDbIhsM=
Bytes: 1600

On Sun, 12 May 2024 09:47:16 -0000 (UTC), Christian Weisgerber wrote:

> On 2024-05-12, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>
>> Job numbers are reused after it has notified you of termination of the
>> previous job. At least in Bash.
> 
> Demonstrably false:

Works for me:

    ldo@theon:~> sleep 10 &
    [1] 1094669
    ldo@theon:~> sleep 1 &
    [2] 1094670
    ldo@theon:~>
    [2]+  Done                    sleep 1
    ldo@theon:~> sleep 1 &
    [2] 1094671