Dnia 20 grudnia 2015 11:31:58 CET, Ulrich Mueller <u...@gentoo.org> napisał(a):
>>>>>> On Sun, 20 Dec 2015, Michał Górny wrote:
>
>> Feel free to use $'\0' if that makes it more explicit for you.
>
>This is even worse. The null character cannot be passed as an argument
>because it is the string terminator. No, I won't use the "read"
>variant at all, because it is an unreadable and gross hack.
>
>Besides, the "set -f" code in the eclass works just fine and has been
>tested for several years by now.

Sure. Relying on implicit word splitting which is a side effect of unquoted 
variable use, along with disabling side effects of that use is not a hack. On 
the other hand, using built-in dedicated to word splitting is. Of course.

While at it, please make sure to remove all uses of 'find -print0' hack. I'm 
pretty sure you can find some implicit ugly side effect that could allow us to 
do the same after mangling a few shopts.

>
>Ulrich


-- 
Best regards,
Michał Górny (by phone)

Reply via email to