Prev: Retain quotes when passing arguments to another script
Next: How do I search for multiple occurrences of something on the same line?
From: Janis Papanagnou on 24 Feb 2010 13:47 pk wrote: > Janis wrote: > >> >> * largefile problems (Darren Dunham in c.u.s) >> >> >> >> cat file | cmd >> >> A workaround for commands which have been compiled without >> >> largefile support but accept a pipe, e.g. compressing >> utilities. >> >> I am puzzled about this one. Why is it a problem for (some?) >> compression programs to read the file from a non-pipe stdin >> channel, as in >> >> cmd <file > > I suppose the "< file" trick works with at most one file; if you have many > large files, you'd need "cat file1 file2 ... fileN | command", assuming cat > supports large files, which it seems to do in all implementations (?). I thought the point of the suggestion had been _one_ large file? Janis, still puzzled |