Re: [PATCH] fix POSIX 'command -pv'

2016-02-26 Thread Thorsten Glaser
Martijn Dekker dixit: >I found another minor POSIX bug in mksh 'command': the options -p and -v >don't combine correctly. Thanks. Sorry it took me some time to have a look at this, but I like to… put off dealing with standards… ☺ In the end, I decided I don’t like the code and rewrote it

Re: ${expansion?} for special parameters

2016-02-26 Thread Thorsten Glaser
Stephane Chazelas dixit: >$ ./mksh -c 'echo "${1?}"' >./mksh: : parameter null or not set >Note how the name of the parameter is not there Indeed. (Not exactly nice, but then, it’s not exactly a regular parameter either.) I’ll look whether I can improve this, thanks. >Nobody would ever want to