Mark Clarkson wrote:
On Wed, 05 Mar 2008 13:10:37 -0800
Bob McGowan <[EMAIL PROTECTED]> wrote:
If I do the "process substitution" using a stand alone programs, it works as described:
     $ wc <(echo this is a test)
           1       4      15 /dev/fd/63
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)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Reply via email to