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


Groups > gnu.bash.bug > #15394 > unrolled thread

Output of jobs wrong

Started byMartin Schulte <gnu@schrader-schulte.de>
First post2019-09-21 20:48 +0200
Last post2019-09-21 20:48 +0200
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#15394 — Output of jobs wrong

FromMartin Schulte <gnu@schrader-schulte.de>
Date2019-09-21 20:48 +0200
SubjectOutput of jobs wrong
Message-ID<mailman.740.1569091685.2190.bug-bash@gnu.org>
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

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web