Jean Delvare dixit:
>On mer., 2017-03-22 at 10:12 +0100, Jean Delvare wrote:
>> One of our customers recently asked us about the different behavior of
>> constructs involving pipes in ksh scripts. I explained to them that
>> mksh spawns a sub-shell for the right hand side of each pipe, and
>>
On Wed, Mar 22, 2017 at 07:39:21PM +, Thorsten Glaser wrote:
>
> Dr. Werner Fink dixit:
>
> >Just to be mentioned, I can mksh change in such a way that without job
> >control
> >I can do
> >
> > ~/rpmbuild/BUILD/mksh> ./mksh -c 'echo xxx | read yyy; echo $yyy'
> > xxx
> >
> >that is it
Op 23-03-17 om 22:02 schreef 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
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
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
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
> >
Martijn Dekker dixit:
>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
>> done
>[...]
>> I was wondering if there is any other trick
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
> done
[...]
> I was wondering if there is any other trick you can suggest that would