Martijn Dekker <[email protected]> wrote: > Op 10-04-18 om 21:06 schreef Robert Elz: > > Date: Tue, 10 Apr 2018 13:41:25 +0100 > > From: Martijn Dekker <[email protected]> > > Message-ID: <[email protected]> > > > > | Does POSIX specify anything, either way, regarding the effect of shell > > | quoting within glob bracket patterns? > > > > I would say it is unclear - in general, quoting inside [] does not work > > (XCU 2.13 char classes are derived from XBD 9.3.5 char classes, and > > in the latter, quote characters are just characters ["] is a char class > > containing just a double quote character. > > However: > > $ ksh93 -c 'case \" in ["a-z"]) echo match;; *) echo no match;; esac' > no match
See my mail from just 5 minutes ago: the '"' is handled by the parser already and thus ["] will cause a secondary prompt. Jörg -- EMail:[email protected] (home) Jörg Schilling D-13353 Berlin [email protected] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'
