Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Receiving Standard Input/Piped

by Codon (Friar)
on Sep 08, 2005 at 17:31 UTC ( #490277=note: print w/ replies, xml ) Need Help??


in reply to Receiving Standard Input/Piped

Warning: There is no Perl in this post!

For what you are doing, you could get most of that via the commandline tools:

> ls * | xargs wc -l
Or, if you have a directory tree that you want to examine:
> find . -type f | xargs wc -l
This will even give you your total, but you may hit the limit of the size of a command line.

Ivan Heffner
Sr. Software Engineer, DAS Lead
WhitePages.com, Inc.


Comment on Re: Receiving Standard Input/Piped
Select or Download Code
Re^2: Receiving Standard Input/Piped
by thekestrel (Friar) on Sep 08, 2005 at 22:16 UTC
    You are most certainly correct. =)
    But the process script that counted lines however was just a gimpy example to do something that used all the inputs. The processing is intensive but unrelated to my problem. I had actually forgotten about the word count binary though, thanks.

    Regards Paul

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2015-07-04 11:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (59 votes), past polls