X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; q=dns; s=default; b=hr
	Msa6FPsil7GhIIq+auLnzCZZa4rqbIoqLeqB2mwm1yBsv493PlF37Y1F90utiZRw
	yT52f5eitYqoout7WHqcaVpRJ2Ls9HGmHdHz16ILg/R69zwPlGUAWqEb4lJVjIGO
	5E/Kigv4KMvf1ADZNr8WdMrDuWNrfOppyEKb6DMRk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; s=default; bh=TGJUDavS
	Ce5GLRSm5Do/9qyW5/w=; b=D4mo6iONZftK2+WzVvdyER7WfTZEw1z2809sz2Zw
	MUMUcRXq63WIR5u1X2xWygjlJk55FeuSmk5ps9hlFCEL+/6pGnivmkfdNmeVZWM5
	z5CMRPZgxyutgRYRWtFtywzD7dZAaNtFWdhqnp64uQqz2Cl6jR/sZwoOLySfalPJ
	Qoo=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ig0-f181.google.com
MIME-Version: 1.0
X-Received: by 10.107.46.39 with SMTP id i39mr3898188ioo.8.1429377702219; Sat, 18 Apr 2015 10:21:42 -0700 (PDT)
In-Reply-To: <55326E6D.7010703@gmail.com>
References: <55326E6D.7010703@gmail.com>
Date: Sat, 18 Apr 2015 12:21:42 -0500
Message-ID: <CAAXzdLVUTnZzWC9+gdOFp0SRwKQLKzMhbJsCFoWrZGP7tcwTvg@mail.gmail.com>
Subject: Re: Documentation on fstab out of date
From: Steven Penny <svnpenn@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

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

