delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/18/13:22:03

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 DOT 7010703 AT gmail DOT 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 AT gmail DOT com>
To: cygwin AT cygwin DOT com
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019