On Sat, Oct 19, 2013 at 05:00:44AM +0400, Alexander S. wrote: > 4) we need some standard way to separate file names in a stream. > Basically, ^@ is our only refuge, because path can contain any other > character. But maybe newline is good enough?
Why not just play it safe? Would it really add any noticeable complexity, even if just an option? > Not once nor twice had I written the glorious "tr '\n' '\0' | xargs -0" > to turn it off). Which does nothing for safety. `xargs -d '\n'` would have been just as good. > ptree -maxdepth 2 | ftest "( perm 111 || newer ./reference ) && user root" | > xargs rm The Solaris and SunOS users *might* not like you for that choice of name (“ptree”), but who cares? It's inconsequential. Regards, Alex Pilon
pgp6lRFZpURJX.pgp
Description: PGP signature