File output Question

ERIC HO ericmho@shaw.ca
Mon Jan 3 10:00:00 GMT 2011


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



More information about the Cygwin mailing list