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