POSIX character classes (was Re: pipes and sub-shells)

2017-03-23 Thread Thorsten Glaser
Martijn Dekker dixit: >* BUG_NOCHCLASS: POSIX-mandated character [:classes:] within bracket >[expressions] are not supported in glob patterns. I really really REALLY hate that this will make mksh really big. We’re talking about 36K .rodata even without titlecase conversion and BMP-only (16-bit

Re: pipes and sub-shells

2017-03-23 Thread Jean Delvare
Hi Martijn, On mer., 2017-03-22 at 10:26 +0100, Martijn Dekker wrote: > Op 22-03-17 om 10:12 schreef Jean Delvare: > > > > Concretely, the customer's code looks like this: > > > > command | while read line > > do > > if > > then > > exit > > fi > > process $line > >

Re: pipes and sub-shells

2017-03-23 Thread Martijn Dekker
Op 23-03-17 om 10:49 schreef Jean Delvare: > Apparently it requires a more recent version of mksh than we are > shipping: > > $ echo $KSH_VERSION > @(#)MIRBSD KSH R50 2014/06/29 openSUSE That version is quite ancient, so you should consider upgrading it to the latest. FYI, modernish