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 To: cygwin AT cygwin DOT com Message-id: Date: Sun, 02 Jan 2011 20:04:21 -0700 MIME-version: 1.0 Subject: Re: File output Question Content-type: text/plain; charset=us-ascii Content-disposition: inline Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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