Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15394

Output of jobs wrong

Path csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Martin Schulte <gnu@schrader-schulte.de>
Newsgroups gnu.bash.bug
Subject Output of jobs wrong
Date Sat, 21 Sep 2019 20:48:00 +0200
Lines 43
Approved bug-bash@gnu.org
Message-ID <mailman.740.1569091685.2190.bug-bash@gnu.org> (permalink)
References <20190921204800.c3c911d32e3b955b7901b887@schrader-schulte.de>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Trace usenet.stanford.edu 1569091685 25965 209.51.188.17 (21 Sep 2019 18:48:05 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
X-Mailer Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu)
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From 91.184.37.130
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <20190921204800.c3c911d32e3b955b7901b887@schrader-schulte.de>
Xref csiph.com gnu.bash.bug:15394

Show key headers only | View raw


Hello,

I'm not feeling well writing this mail because so far I've not been able
to reproduce the behaviour I describe in the following...

I was trying to understand the "[Patch] (tiny problem) bad short_doc for
% command" thread when I entered more or less the following sequence of
commands:

$ help -s %
%: job_spec [&]
$ sleep 10
^C [Interrupted with CTRL-C - maybe "exactly" after 10 seconds]
$ sleep 100 &
$ sleep 200 &
$ sleep 30 &
$ %
^C [Interrupted with CTRL-C]
$ sleep 300 &
$ jobs
[1]   Running                 sleep 10 &
[2]-  Running                 sleep 10 &
[3]+  Running                 sleep 300 &

So job 1 and job 2 listed the wrong argument. I checked this from a
second terminal with 'ps -lf' - and there were three sleep with
arguments 100, 200 and 300... 

Systeminfo:

$ uname -a
Linux martnix4 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u5 (2019-08-11)
x86_64 GNU/Linux
$ echo $BASH_VERSION
4.4.12(1)-release

Sorry, I would like to be more helpful - but maybe someone else has
noticed a similiar problem or has an idea with the sources in mind.

Best regards,

Martin

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Output of jobs wrong Martin Schulte <gnu@schrader-schulte.de> - 2019-09-21 20:48 +0200

csiph-web