delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/04/17:16:15

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.20010104165903.0220f2e8@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: Thu, 04 Jan 2001 17:11:03 -0500
To: dkarr AT tcsi DOT com (David M. Karr), cygwin AT sourceware DOT cygnus DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: First Cygwin Installation
In-Reply-To: <uywvcbf0i8.fsf@tcsi.com>
References: <"Larry Hall's message of "Thu, 04 Jan 2001 16:36:06 -0500">
<DJ Delorie's message of "Thu, 4 Jan 2001 16:11:54 -0500">
<8006AC6A777F3F4F8B2A6383C19C5B7A2D51A9 AT XCH-NW-01 DOT ca DOT boeing DOT com>
<200101042111 DOT QAA25630 AT envy DOT delorie DOT com>
<4 DOT 3 DOT 1 DOT 2 DOT 20010104162731 DOT 021e24e0 AT pop DOT ma DOT ultranet DOT com>
Mime-Version: 1.0

At 04:52 PM 1/4/2001, David M. Karr wrote:
>   Larry> endings - there's lots of good alternatives here).  Every other Windows 
>   Larry> program I've used can read UNIX line endings just fine, because the underlying 
>   Larry> Win32 API call for accessing files supports reading newline-only line endings. 
>   Larry> I'm sure there are some other utility programs out there that still trip over 
>   Larry> UNIX line endings too but in general, this is pretty rare.
>
>Unless I'm misunderstanding something, the public domain Korn shell is
>another application that can't deal with Unix line endings.  For some
>people, this is more likely to be an issue than notepad or vc++.


Right.  It depends on the utilities you use, how old they are, and whether
they make use of the Win32 API for opening text files or not.  There are 
some utilities out there which are poorly ported to Windows.  Other than
utilities like these and the utilities I mentioned which are part of the
utilities that come with Windows (or its development environment), every
other Windows program that I've seen can read a text file with UNIX line 
endings, even edlin!;-)  (Yuck, who wants that!;-))  However, if you're 
concerned about some obscure program you know you need to interact with 
files created and manipulated with Cywgin tools, pick "DOS" files at Cygwin 
install time.  If you don't have reason to fear some utility you're using 
won't work with Cygwin created/manipulated files, stick with the defaults.  
Defaults exist because they generally give the best results for the majority. 
YMMV!;-)


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?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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