Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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 < 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 PASSED: mc creation FAILED: mc attr TESTS: 2 PASSED: 1 (50%) FAILED: 1 (50%) C:\test>perl <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 Tomazos  |  |

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-21 13:52 GMT
Find Nodes?
    Voting Booth?

    No recent polls found