www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.2 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
X-Cloudmark-SP-Filtered: | true |
X-Cloudmark-SP-Result: | v=1.1 cv=RqyNDtpx6tjDVuBEjThEM7Sb7UIcZJ9pWCjWEOSCXCc= c=1 sm=1 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=156Iu7_H0JKahLlU1u8A:9 a=Mfb9PF-_UcVf5NwuHswBfMu7xQsA:4 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 |
From: | ERIC HO <ericmho AT shaw DOT ca> |
To: | cygwin AT cygwin DOT com |
Message-id: | <fbacfb31272a0.4d20da45@shaw.ca> |
Date: | Sun, 02 Jan 2011 20:04:21 -0700 |
MIME-version: | 1.0 |
Subject: | Re: File output Question |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |