Re: [Bug] 'command readonly/export' exit on error

2019-08-01 Thread Thorsten Glaser
Martijn Dekker dixit:

> The 'readonly' and 'export' commands exit the shell on error even if
> they are prefixed with 'command', which should stop that exit from
> happening.

tricky but fixed, thanks
//mirabilos
-- 
11:56⎜«liwakura:#!/bin/mksh» also, i wanted to add mksh to my own distro │
i was disappointed that there is no makefile │ but somehow the Build.sh is
the least painful built system i've ever seen │ honours CC, {CPP,C,LD}FLAGS
properly │ looks cleary like done by someone who knows what they are doing


Re: [PATCH] return status 126 on failure to execute

2019-08-01 Thread Thorsten Glaser
Martijn Dekker dixit:

> Expected output:
>
> longargs.sh[8]: /bin/sh: Argument list too long
> status 126

merged, thanks


Re: 'command set' does not set PPs

2019-08-01 Thread Thorsten Glaser
Martijn Dekker dixit:

>$ mksh -c 'command set -- one two three; printf %s\\n "$@"'

fixed, thanks