Shmuel Fomberg wrote:
> Hi.
>
> I don't actually know which "dir" command I actually hit,
system("which dir");
should clear that ...
> but whatever
> it is, if it works in the first code why don't it work in the second?
>
>
My guess is that it does not. You just dont see it because you only see
the stderr of the last process in the chain (wc).
1) Check that with an example that actually produces non empty grep-output
2) Try adding "2>/tmp/myfile" after the dir
> btw, /b = bare, (only file names, no headers and such) and /s is recursive.
>
>
I guess these refer to the DOS dir. If you hit the cygwin dir, no wonder
it fails...
Amit
_______________________________________________
Perl mailing list
[email protected]
http://perl.org.il/mailman/listinfo/perl