This is the mail archive of the cygwin 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] |
Other format: | [Raw text] |
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. Thanks, Vince __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Attachment:
cygcheck.out
Description: cygcheck.out
-- 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/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |