[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Output of jobs wrong
From: |
Martin Schulte |
Subject: |
Output of jobs wrong |
Date: |
Sat, 21 Sep 2019 20:48:00 +0200 |
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
- Output of jobs wrong,
Martin Schulte <=