[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: is it normal that set -x unset commands dont display special chars i
Alex fxmbsw7 Ratchev
Re: is it normal that set -x unset commands dont display special chars in the content
Mon, 1 Mar 2021 10:28:35 +0100
i still dont understand, ( you speak more special english than code ), why
unset wont display the special chars, but then i suppose its not much of a
bug .. ?
On Mon, Mar 1, 2021 at 1:19 AM Chet Ramey <email@example.com> wrote:
> On 2/28/21 6:19 PM, firstname.lastname@example.org wrote:
> >> The check for shell special characters, which results in single quoting,
> >> comes before whether there are any characters that would require ANSI-C
> >> quoting. This is not specific to unset.
> > In fairness, I don't think it's strictly incorrect to say that the
> > is different "for" one of two commands used in a trivial example. I was
> > only attempting to clarify the circumstances that begat the original
> I understand. The point is that it's faulty reasoning to say that it's a
> difference between two commands when there are more differences than the
> (builtin) command name itself. It's one of the first rules of
> troubleshooting: reduce the number of variables between cases.
> In this case, running `:' and `unset' with the same arguments would have
> shown that that difference was in how the arguments are treated, not the
> builtin itself.
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
> ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU email@example.com http://tiswww.cwru.edu/~chet/
- Re: is it normal that set -x unset commands dont display special chars in the content,
Alex fxmbsw7 Ratchev <=