On Wed, Sep 19, 2001 at 05:10:52PM -0400, Lehr, Matt (GEA, 510425) wrote:
> That was quick...
>>>What is your perl summary (perl-V)?
>> Please see attached...
>>>What is pwd?
>> Hey, you've at least got to give me credit for not falling into that
>trap... :-)
>> /usr/bin/perl -e '$x=system("wc",".bashrc");$y=system("wc <
>.bashrc");print"$x $y $!\n";'
> produces
> 5 14 93 .bashrc
> 0 -1 No such file or directory
How about the trap of not having 'wc' in your path? Try explicitly using
/bin/wc in the above example.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/