This is the mail archive of the cygwin@sourceware.cygnus.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: cat and binary files


In message <9704101917.AA21816@marc.watson.ibm.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@cygnus.com" with one line of text: "help".


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