delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/10/18:08:25

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <484EFB14.65C9E56F@dessent.net>
Date: Tue, 10 Jun 2008 15:07:16 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: gmarsha11 <gary DOT marshall AT hp DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Extra spaces in text files in cygwin
References: <17764646 DOT post AT talk DOT nabble DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
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

gmarsha11 wrote:

> then, `cat abc.txt` returns
> 
> T h i s  i s  a b c  f i l e
> 
> Anyone know what might cause this?

What do you mean by "[backtick] returns"?  Can you paste a full example
testcase?  What is the file's encoding?  If it's a unicode file with a
UTF-16 encoding then you would expect something like the above,
depending on how you're interpreting the output.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019