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.
In reply to Re^2: Append big files -- oneliner
by BrowserUk
in thread Append big files
by kepler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |