Enter NULL characters in vi...

Steve Flynn anothermindbomb at gmail.com
Wed Mar 3 21:38:02 UTC 2010


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

On 03/03/10 21:35, Steve Flynn wrote:
> Evening all,
> 
> 	Been working on some code to clean up UTF16 encoded files and I find
> myself needing to create a test file with some NULLs embedded within it.
> 
> 	I had hoped that (in vi) Ctrl-V followed by an @ would do the trick but
> it seems not.

Typically, moments after sending, I find out that it's CTRL-V 010 which
does the trick...


- -- 
Steve Flynn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuO1rkACgkQpOzvLkUb86CxRACguhOuvqZLI9hJex91cj/ehI2J
UWkAnje4ssis1UtGyBDsRo55cCSyPHJQ
=LfFk
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list