Craig Sanders <[email protected]> writes:

> On Fri, Sep 20, 2013 at 04:38:53PM +1000, Jeremy Visser wrote:
>> Solution to what? I'm arguing *for* the status quo, not against it.
>> I'm arguing against the arguments against the status quo.
>> That makes sense, right?
>
> the status quo is that users who create filenames with spaces on unix
> systems deserve a severe and vicious larting.
>
> -print0 is for when it's inconvenient to find your 2x4

IMO -- apart from make (for hysterical raisins) -- unix processes should
deal with paths that contain arbitrary bytes.  Not because it's nice for
users, but because it's defensive programming against injection attacks.

Yes, -print0 is slightly annoying, and I don't bother when writing
one-liners to operate on my personal equipment.  But if your stuff is
going to be exposed to user input, HTFU and use -print0 and friends.

_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to