Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by Aristotle (Chancellor)
on Sep 02, 2004 at 20:31 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-25 08:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found