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.
|
|---|