Coyo has asked for the wisdom of the Perl Monks concerning the following question:
bash$ perl -e '`find > foo`; print \"$!\n\";'
gives me the following output
Bad file descriptor
I can run `find` fine, as long as I don't pipe it or redirect output.
I run the following in Bash version 2.021 with Perl 5.6.0 build 613 on NT 4.00.1381 (4.0) with Service Pack 5.
No file redirection or piping seems to work.
-coyo (running NT due to a past life karma debt, no doubt)
Originally posted as a Categorized Question.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Bad file description for win32/bash/perl combo
by Coyo (Initiate) on May 16, 2000 at 04:01 UTC |
Back to
Seekers of Perl Wisdom