delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/22/17:36:26

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.3.1.2.20000822135709.00b33708@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Tue, 22 Aug 2000 14:04:50 -0400
To: Earnie Boyd <earnie_boyd AT yahoo DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: RE: CR/LF and read is shell scripts
Cc: "cygwin AT sourceware DOT cygnus DOT com" <cygwin AT hotpop DOT com>
In-Reply-To: <20000822175729.9001.qmail@web125.yahoomail.com>
Mime-Version: 1.0

At 01:57 PM 8/22/2000, Earnie Boyd wrote:
>--- "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> wrote:
> > 
> > If you want my opinion, cat under Cygwin should open files using the MS
> > text mode option (which reads text or binary files properly) and write 
> > it as the target file system or pipe suggests by default.  The flags you
> > suggest are fine options.  Of course, they should work on files and 
> > stdin/stdout in the same way.
> > 
>
>Thanks, I did as for comments which of course include opinions.  I want to
>point out though that processing binary files in text mode doesn't work. 
>You'll not get all of the data from the binary file.


Right, if the file contains ^Z.  What's the alternative?  
Implement some of the text semantics to support text mode processing?
(should we move this discussion to another forum/off-line?)

   

Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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