31.08.2009 14:12, Herbert Xu wrote:
>> $ dash /tmp/z.sh
>> [Include] [common.conf]
>> [FullSpeedCPU] [yesFnf]
>
> Thanks for the report. It's an off-by-one error causing the
> NUL termination to disappear.
I found another example:
$ tr -d '[:print:]' < /etc/passwd |tr -d '\t\n' |wc -c
0
$ dash -c 'while read o p; do printf "[%s] [%s]\n" "$o" "$p"; done <
/etc/passwd' |tr -d '[:print:]' |tr -d '[:space:]' |wc -c
61
bug is not fixed yet :(
--
Rgrds, legion
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[LARTC]
[Bugtraq]
[Yosemite Forum]
[Photo]