dash.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Inconsistent behaviour between 'jobs' and 'echo "$(jobs)"'
@ 2015-01-19 18:01 Damian Wrobel
       [not found] ` <20150120084438.GA751@ein.free.fr>
  0 siblings, 1 reply; 4+ messages in thread
From: Damian Wrobel @ 2015-01-19 18:01 UTC (permalink / raw)
  To: dash

Hi,

I'm observing an inconsistent behaviour between:
  jobs
and
  echo "$(jobs)"

Here is the short example:

$ rpm -qv dash
dash-0.5.8-1.fc21.i686
$ /bin/dash
$ sleep 1000 &
$ jobs
[1] + Running                    sleep 1000
$ echo "$(jobs)"

$ echo `jobs`

$ jobs 2>/dev/null
[1] + Running                    sleep 1000
$

-- 
Have a nice day,
Damian

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-21 13:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-19 18:01 Inconsistent behaviour between 'jobs' and 'echo "$(jobs)"' Damian Wrobel
     [not found] ` <20150120084438.GA751@ein.free.fr>
2015-01-20 17:01   ` Damian Wrobel
2015-01-20 19:07     ` Seb
2015-01-21 13:42     ` Seb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).