This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: File output Question
- From: ERIC HO <ericmho at shaw dot ca>
- To: cygwin at cygwin dot com
- Date: Sun, 02 Jan 2011 20:04:21 -0700
- Subject: Re: File output Question
Looking at this closer, I've found the file contains hex '00' between characters. In vim, it displays ^@ for hex '00'. So it looks unreadable. But when I use cat or tail commands, it strips off hex '00' and looks readable. For example. in vim, it displays:
P^@r^@o^@d^@u^@c^@t^@:
With cat and tail, the output displays Product:
Thanks.
Eric
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple