-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Robert Whent (rwhent) on 2/21/2008 10:59 AM:
|
| JOBS=`jobs`
|
| echo $JOBS
|
| this return nothing at all

As well it should.  jobs returns information about the current shell's
jobs.  But inside ``, the command is executed in a subshell.  The subshell
has no child processes of its own (but is one of the children of the
parent collecting the `` output).  And for this reason, jobs has to be a
shell builtin rather than an external application.

|
| I have also trawled the web and can find no reports of any issues ?
|

Try reading this link, especially under Application Usage
http://www.opengroup.org/onlinepubs/009695399/utilities/jobs.html

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHvlyT84KuGfSFAYARAmclAJ95ZIbKzGkaHB/Uzsb+16w8SKqWfwCdF4ao
6V+PKubsshFXciskWd27ftk=
=giAF
-----END PGP SIGNATURE-----


Reply via email to