in reply to (tye)Re: piping commands to perl via standard input on the Win32 command line
in thread piping commands to perl via standard input on the Win32 command line
The problem is that Win32's "echo" preserves the quotes and so is poorly suited for this task- tye
That's why you shouldn't echo quotes unless you mean for perl to see them as for example, this in CMD:
echo system("time /T") ; print "\nHello world!\n" | perl -w
|
---|
Replies are listed 'Best First'. | |
---|---|
(tye)Re2: piping commands to perl via standard input on the Win32 command line
by tye (Sage) on Jan 10, 2002 at 00:03 UTC |