Re: [dev] [sbase] Command list

From: Alex Pilon <alp_AT_alexpilon.ca>
Date: Sat, 19 Oct 2013 11:47:47 -0400

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, ^_AT_ 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

Received on Sat Oct 19 2013 - 17:47:47 CEST

This archive was generated by hypermail 2.3.0 : Sat Oct 19 2013 - 18:00:05 CEST