Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Text merge concept in perl

by Laurent_R (Monsignor)
on Dec 19, 2013 at 19:02 UTC ( #1067860=note: print w/ replies, xml ) Need Help??

in reply to Text merge concept in perl

Or this one-liner (I am merging here all the a*.pl files in my current directory into out.txt):

$ perl -pe '' a*.pl > out.txt
Just a quick check on the number of lines and characters:
$ wc out.txt 186 583 4219 out.txt $ wc a*.pl 11 27 187 35 125 719 11 47 305 25 95 502 24 99 532 24 55 357 56 139 1617 186 587 4219 total

Comment on Re: Text merge concept in perl
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2015-11-25 17:15 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (683 votes), past polls