Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Combine files with same extension in new file

by Anonymous Monk
on Oct 01, 2015 at 08:50 UTC ( [id://1143493]=note: print w/replies, xml ) Need Help??


in reply to Combine files with same extension in new file

I know how to do it using linux command, but I want to do it in Perl. Thanks and I appreciate any help

Same way, open output file, then open each input file in turn, skip the header, print the rest to output file

see get n lines before or after a pattern, Re: modifying a file with regex!, perlintro, open, readline, rename, Re^5: Remove a Line, perlintro, open, close, readline, rename, Re: Rewriting into file, @ARGV, Getopt::Long, Re^2: Write to existing file with character insert

Log In?
Username:
Password:

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

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

    No recent polls found