delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/04/10/21:10:24

From: huott AT pinebush DOT com (Ed Huott)
Subject: Re: cat and binary files
10 Apr 1997 21:10:24 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199704110120.VAA19481.cygnus.gnu-win32@sol.pinebush.com>
Original-To: marc AT watson DOT ibm DOT com
Original-cc: gnu-win32 AT cygnus DOT com
In-reply-to: Your message of "Thu, 10 Apr 1997 15:17:59 EDT."
<9704101917 DOT AA21816 AT marc DOT watson DOT ibm DOT com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

In message <9704101917 DOT AA21816 AT marc DOT watson DOT ibm DOT com>, Marc Auslander writes:
>I tried doing binary mounts with the following results.
>
>1.  cat now produces a file larger than the sum of the input file
>sizes.
>
>2.  bash gets confused reading .bashrc
>
>3.  I don't know how to get binary while using explicit path notation.
>
>So I'll go back to text mode mounts for now, and if necessary write a
>cat that works.
>

You would probably have better luck if you could ensure that the files
you are cat'ing and your .bashrc were not "text" files, that is that
they did not contain <cr><lf> as line terminators instead of just
<lf>.

It is very simple to write a filter that will convert files from one
form to the other.

<ED>
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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