On Wed, Nov 18, 2015 at 12:29:15PM -0800, Linda Walsh wrote:
> Greg Wooledge wrote:
> >An argument cannot contain a NUL byte.  So it's moot.
> ---
>       As in:
> >printf '"%c"\n'  $'\x00'|hexdump -C
> 00000000  22 00 22 0a                                       |".".|

imadev:~$ printf '"%c"\n' '' | od -t x1
0000000   22   0  22   a
0000004

$'\x00' and $'\0' and '' and "" are all empty strings.

Still don't believe me?

imadev:~$ x=$'\x00'; echo "${#x}"
0

It has length 0.

Reply via email to