in reply to how to concatenate files

If that's really all you need to do, and if you're on Unix, I would just do
cat file1 file2 ... filen > big_file
Or in Perl, do it with the following zero-line program typed from your shell prompt.
perl -pne '' file1 file2 ... filen > big_file
See perlrun for details.

Replies are listed 'Best First'.
Re^2: how to concatenate files
by thor (Priest) on Jan 20, 2005 at 04:39 UTC
    perl -pne '' file1 file2 ... filen > big_file
    Unless I'm missing something, the p flag is mutually inclusive of the n flag. That is to say that the n is redundant.

    thor

    Feel the white light, the light within
    Be your own disciple, fan the sparks of will
    For all of us waiting, your kingdom will come

      That could well be. Frankly, I'd gotten kind of used to typing it the other way so I didn't think to check.