in reply to Re: Append big files -- oneliner
in thread Append big files

Your one-liners can be simplified to just:perl -pe1 file1 file2 file3 > allfiles

(Or just perl -pe1 file* > allfiles under *nix),

but it won't be as fast as your local system utility; and if one of the files doesn't contain any newlines, it will get very slow indeed, as it will slurp the entire file before writing it back to disk.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.