This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Documentation on fstab out of date
- From: Steven Penny <svnpenn at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 18 Apr 2015 12:21:42 -0500
- Subject: Re: Documentation on fstab out of date
- Authentication-results: sourceware.org; auth=none
- References: <55326E6D dot 7010703 at gmail dot com>
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