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]

Re: Documentation on fstab out of date


On Sat, Apr 18, 2015 at 9:47 AM, David Macek wrote:
> According to has_exec_chars, the sniffing routine also looks for "MZ" (EXE/PE
> files) and ":\n" (batch files? (can anyone confirm this?)).

Yeah, I can confirm that it does nothing.

    $ touch alpha.sh bravo.sh charlie.bat delta.bat

    $ echo '#!/bin/sh' > bravo.sh

    $ echo : > delta.bat

    $ file *
    alpha.sh:    empty
    bravo.sh:    POSIX shell script, ASCII text executable
    charlie.bat: empty
    delta.bat:   ASCII text

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


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