-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 William Pursell wrote: > I couldn't find the correct place to interject this question in > the thread, so I fairly randomly selected this location... > > As far as I can tell, the following 4 commands should > all behave the same, but the last one hangs. Can anyone > see why? > > $ cat <(echo foo) > foo > $ bash -c 'cat <(echo foo)' > foo > $ echo foo | bash -c 'cat' > foo > $ bash -c 'cat' <(echo foo) > > bash is not passing it's stdin to cat's, cat is also in a subshell. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHzy8mLeTfO4yBSAcRAnU1AJwPDDxW8w6lg2uluPdPqnmHdpA2OgCgjtpM yzemPNl95uLFTZY+XwmJxOU= =kLad -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]