On 1/11/14, 7:01 PM, Theodoros V. Kalamatianos wrote:
> Hi,
>
> I have bumped into a rather strange issue:
>
> $ set -- ''; printf "=%s=\n" "$@" x
> ==
> =x=
> $ set -- ''; printf "=%s=\n" "${@:1}" x
> =x=
>
[...]
>
> I encountered this on bash-4.2.037, as provided by the Mageia 3 Linux
> distribution, but according to a contact on IRC, this issue also affects
> the latest patch (4.2.045).
Thanks for the report. This will be fixed in bash-4.3.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/