On Thursday 27 March 2008 17:33:08 Per Jessen wrote:
Carlos E. R. wrote:
By doing this, xargs essentially "batches up" maximal (w.r.t. the argument size limit) sets of file names and invokes rm only as many times as necessary.
Randall, that has got to be one of the coolest pieces of advice I've seen here. "man xargs" doesn't even mention it.
huh? It's what xargs does. It's the basic functionality of the program
But the thing is, the xarg's man page does not clearly say that it joins arguments up to the size limit. There are hints that concurs with that fact, but it is not clearly stated :-)
Exactly - in particular, the '-0' argument doesn't say anything about matching any size limit.
Possibly because that's not what -0 does. -0 just tells xargs to not use blanks or newlines as parameter separator, but to wait for a null character instead Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org