On Fri, Oct 27, 2017 at 3:28 PM, Eli Barzilay <e...@barzilay.org> wrote:

> On Fri, Oct 27, 2017 at 2:37 AM, Clark Wang <dearv...@gmail.com> wrote:
> >
> > What `unset' does is special but there's nothing special when parsing
> > the command and bash even does not care if it's built-in command or
> > not.
>
> Exactly -- and this kind of a clarification is exactly the thing that
> many people are unaware of.
>
> (And in case it wasn't clear: I said that unset is different in the
> expectations that people have with it, not in how it expands.)
>

Different people have different expectations which they believe are all
important. It's not possible to cover so many tricky things in the manual.
To me the most important thing is to describe the syntax correctly. When
you understand the syntax "unset arr[i]" would never surprise you.

Reply via email to