This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: CR/LF and read is shell scripts


At 01:57 PM 8/22/2000, Earnie Boyd wrote:
>--- "Larry Hall (RFK Partners, Inc)" <lhall@rfk.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@rfk.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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]