-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Mike Frysinger on 9/26/2007 7:04 PM:
> is it even possible to utilize NUL in scripts ?  or does bash just strip it 
> out ?  for example, trying to work with binary data:
> foo=$(<binary-file)
> echo "${foo}" > new-file
> the "new-file" will be exactly "binary-file" if all NUL bytes are stripped out

POSIX is silent on the matter.  zsh preserves NUL in command substitution,
bash strips them out.  Perhaps it is worth raising the issue with the
Austin group for clarification.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG+wqc84KuGfSFAYARAmD5AJ0RsaTyeXv/3UboG4OY3ndMCxVbvACdHiPA
HPg3MAqiAHcNAU9cZmeLmvk=
=r4Df
-----END PGP SIGNATURE-----


Reply via email to