delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/09/15:56:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20040809154333.033970c0@pop.prospeed.net>
X-Sender:
Date: Mon, 09 Aug 2004 15:56:33 -0400
To: Vince Rice <vr8ce AT yahoo DOT com>, cygwin AT cygwin DOT com
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: Mounted text mode but acting binary
In-Reply-To: <20040809193310.64276.qmail@web60907.mail.yahoo.com>
References: <20040809193310 DOT 64276 DOT qmail AT web60907 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0

At 03:33 PM 8/9/2004, you wrote:
>I have a directory mounted text mode.  In that directory, I'm running a grep
>looking for trailing spaces and/or tabs.  It's not finding any in a file that I
>know has them, so I created a small file with one line and a trailing tab.  It
>doesn't find that, either.  I changed the file from DOS line endings to Unix
>line endings, and grep found it.
>
>So, grep appears to be acting as if the current directory is binary mode, but
>the mount table shows it as text mode.  What am I missing?
>
>I'm on 1.5.10-3 on W2KSP2.  Here is the output of mount:
>d:\cygwin\bin\cygcheck.exe on /bin/cygcheck type system (binmode,exec)
>d:\cygwin\bin\cygcheck.exe on /bin/cygcheck.exe type system (binmode,exec)
>e:\clients\iasg\csv on /e/clients/iasg/csv type system (textmode)
>e:\mas\mmb\sql\ap on /e/mas/mmb/sql/ap type system (textmode)
>d:\cygwin\bin on /usr/bin type system (binmode)
>d:\cygwin\lib on /usr/lib type system (binmode)
>d:\cygwin on / type system (binmode)
>c: on /c type user (binmode,noumount)
>d: on /d type user (binmode,noumount)
>e: on /e type user (binmode,noumount)
>k: on /k type user (binmode,noumount)
>o: on /o type user (binmode,noumount)
>s: on /s type user (binmode,noumount)
>
>I'm in the e:\mas\mmb\sql\ap directory when I'm doing the grep.  I've confirmed
>that grep is Cygwin's (which grep yields "grep is an external :
>D:\cygwin\bin\grep.exe").  I've tried it both from cmd and from a bash prompt;
>neither works.
>
>I've also attached my cygcheck output if the above doesn't provide any hints.


WFM with same O/S (though SP3) and Cygwin versions all around.  Are you 
quite certain you're not getting the Borland one somehow?



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


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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