Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: cmd.exe piping stress

by BrowserUk (Patriarch)
on Mar 20, 2006 at 18:47 UTC ( [id://538017]=note: print w/replies, xml ) Need Help??


in reply to Re^2: cmd.exe piping stress
in thread cmd.exe piping stress

C:/> perl unit2summary.pl < dmp4.piped

Can I take it from the prompt shown in your command line that you are using some other shell than cmd.exe?

If so, try your commands with cmd.exe. I can't see any difference in the behaviour here:

C:\test>perl -pe1 junk.dat | perl unit2summary.pl PASSED: mc creation FAILED: mc attr TESTS: 2 PASSED: 1 (50%) FAILED: 1 (50%) C:\test>perl unit2summary.pl <junk.dat PASSED: mc creation FAILED: mc attr TESTS: 2 PASSED: 1 (50%) FAILED: 1 (50%)

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^4: cmd.exe piping stress
by tomazos (Deacon) on Mar 21, 2006 at 09:29 UTC
    I use both cygwin and cmd.exe.

    In both situations I get the same results.

    I notice now that under cmd.exe it is finding the cygwin perl first in the path. Maybe it is the cygwin perl causing trouble.

    I'm reinstalling ActiveState and will put that first in my path, and see what that does.

    -Andrew.


    Andrew Tomazos  |  andrew@tomazos.com  |  www.tomazos.com

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://538017]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-21 13:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found