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

  • Comment on Re: Combine files with same extension in new file