Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Process output of one script with another script.

by maard (Pilgrim)
on Feb 18, 2005 at 18:53 UTC ( [id://432467]=note: print w/replies, xml ) Need Help??


in reply to Process output of one script with another script.

So what keeps you from trying if it works or not? just say

oneTwoThree.pl | filterTwoThree.pl
instead of
filterTwoThree.pl | oneTwoThree.pl

Pipes worked well on DOS from it's earliest versions. But your question isn't related to perl, don't you think? ;)

Replies are listed 'Best First'.
Re^2: Process output of one script with another script.
by dave_the_m (Monsignor) on Feb 18, 2005 at 20:34 UTC
    Pipes worked well on DOS from it's earliest versions
    although strictly speaking, in early versions of DOS, pipes were just syntactic sugar:
    foo | more is implemented as foo > tmpfile; more < tmpfile; del tmpfile
    which fails utterly in the face of a command that produces infinite output. I don't know whether things have improved since; I certainly hope so, but I haven't used MS on the desktop since 1987.

    Dave.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-03-29 01:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found