Mail Archives: cygwin/2004/08/09/15:56:18
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 -