Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: How to concatenate the contents of two files?

by Aristotle (Chancellor)
on Sep 02, 2004 at 20:31 UTC ( #388090=note: print w/replies, xml ) Need Help??


in reply to Re: How to concatenate the contents of two files?
in thread How to concatenate the contents of two files?

Commandline version:

perl -please *.txt > output

Well, I suppose one could dub this a useless of use of Perl and simply do

cat *.txt > output

Makeshifts last the longest.

Replies are listed 'Best First'.
Re^3: How to concatenate the contents of two files?
by terra incognita (Pilgrim) on Sep 02, 2004 at 20:39 UTC
    Or the dos version
    copy /v B.txt A.txt Or for multiple files copy /v B.txt +C.txt A.txt

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2022-09-30 21:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (126 votes). Check out past polls.

    Notices?