On 4/4/17 3:29 PM, Grisha Levit wrote:
> There are a few small regressions in the latest devel relative to the
> previous two commits but they're all rather exotic. Again, sorry if this
> is still WIP/too minor:
>
> CTLESC present in output (even with default IFS)
>
> $ set -- 1; unset var; printf ${var-${*:1}} | xxd
> 00000000: 0131 .1
>
> $ set -- 1; unset var; : ${var=${*:1}}; printf "$var" | xxd
> 00000000: 0131 .1
>
> Not splitting (with default IFS):
>
> $ set -- '1 1'; unset a b; printf '<%s>' ${a=$*} ${b=${*:1}}
> <1><1><1 1>
Thanks, these are fixed.
>
> A few more cases below:
I'll look at these.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/