Re: echo do not print NUL byte

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 20/01/2016 22:38, Trek wrote:
there is no way to print the NUL byte with the echo utility

with dash (XSI, no -e argument):

   $ dash -c 'echo \\0 | od -An -c'
     \n

This is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=379227, which did get fixed already, but it was after 0.5.8. That should mean it will be in the next release of dash, but you can check out the sources from Git if you want to see it now.

Cheers,
Harald van Dijk
--
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



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux