in reply to Re: Perl script for concatenating multiple files in aspecific order listed in a txt file
in thread Perl script for concatenating multiple files in aspecific order listed in a txt file
To do it Perl, read the list file into an array, then loop on the array, open each file listed in turn and print what you read to the same output file.
... and don't forget to chomp off the trailing newlines.
Alexander
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl script for concatenating multiple files in aspecific order listed in a txt file
by Laurent_R (Canon) on Aug 12, 2017 at 17:13 UTC |