[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command substitution with null bytes generates warning

From: Linda Walsh
Subject: Re: Command substitution with null bytes generates warning
Date: Mon, 19 Sep 2016 11:50:24 -0700
User-agent: Thunderbird

Greg Wooledge wrote:
Bash has only three choices that I can think of: it can silently drop the
NUL bytes  behavior), it can drop ALL of the bytes and return an
error, or it can drop the NUL bytes with a warning (4.4 behavior).
now who is being disingenuous?  It was silent not just in 4.3, but in all
previous versions.   There is far more weight behind the being silent (the
unix design philosophy) than being needlessly noisy.
 Calling that an "illegally modified input" is disingenuous.

Claiming it needed a warning for something that is "impossible" is
equally ridiculous.  Why not warn that bash can't do your laundry?
If bash is to warn about everything it ***can't*** do, it would be
unusable.  So why make a special case to warn about the "impossible"?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]