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 <chet.ra...@case.edu> wrote: > On 2/28/21 6:19 PM, k...@plushkava.net 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 > outcome > > is different "for" one of two commands used in a trivial example. I was > > only attempting to clarify the circumstances that begat the original > question. > > 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 c...@case.edu http://tiswww.cwru.edu/~chet/ > >