From: Jeff King Date: Tue, 12 Feb 2019 00:34:46 GMT Subject: Re: [PATCH] test-lib: fix non-portable pattern bracket expressions Message-ID: <20190212003446.GF13301@sigill.intra.peff.net> In-Reply-To: <20190212003018.GA1622@szeder.dev> On Tue, Feb 12, 2019 at 01:30:18AM +0100, SZEDER Gábor wrote: > > I learn > > another one. :) Thanks for fixing this, and for digging up the POSIX > > reference. > > I had to, that 16.04's dash worked, but neither dash in older LTS nor > newer upstream version did was particularly puzzling. Turns out that > in 0.5.8-1 Ubuntu (Debian? dunno.) started to configure dash with > '--enable-fnmatch', which makes it understand '^' as well. Ah, doubly puzzling. It works fine in my Debian dash (but fnmatch was enabled in 0.5.8-1 there, too). -Peff