On 3/8/19 6:09 PM, Grisha Levit wrote:
> A few more that produce \177 in the output, though I'm not sure if
> these have defined output:
>
> $ IFS=$' \t\n' # or any other IFS
> $ set -- ''
> $ recho ${v= "$*" }
> <$'\177'>
>
> $ IFS=''
> $ set -- '' ''
> $ recho ${v= "$*" }
> <$' \177 '>
These were changed last week in the 20190306 update.
> And also variations like the below all have \177 as well, but these
> I'm pretty sure are undefined:
These are all undefined, but there's nothing wrong with doing something
more reasonable than leaving the quoted nulls in there.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/