-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 7/31/13 5:17 AM, Chris Down wrote: > I think our documentation on $! is a little misleading. `man bash' states: > > Special Parameters > The shell treats several parameters specially. These parameters may > only > be referenced; assignment to them is not allowed. > > [...] > > ! Expands to the process ID of the most recently executed background > (asynchronous) command.
How about the command (or job) most recently placed in the background. Chet - -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlH6gMMACgkQu1hp8GTqdKssxwCgjcqgNVFL/5D6G3F5NhSBV1MX Eg4An1FdeVp2YpGd1vcpKuwqh3epnfao =Foi3 -----END PGP SIGNATURE-----