Op 10-04-18 om 22:50 schreef Jilles Tjoelker:
I prefer "no quirk" twice as output but it is indeed not fully
specified.


I agree with your preference.

Ignoring shell quoting in glob bracket patterns means removing a useful feature: the ability to pass an arbitrary string of characters in a parameter, one of which is to be matched.

OTOH, honouring shell quoting in glob bracket patterns does not remove any functionality, as you can simply not quote the expansion (which is safe, as it is not subject to split or glob in that context).

So if this is indeed not specified, I think the standard ought to be amended to specify the current majority behaviour (everything but ksh93).

- Martijn

Reply via email to