delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/05/16:17:39

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=VB2D/hpI0mrWYc1uwJ3FnUIVBjpQd86HTSyRAJmyw80
EjM5eWyIF+RmibL05rgDhBFTsVi3byuTzm3qouSBqLxl9Oqgxg3ATPZgeszQme99
GseIlGo0avYwl4JB5OJ48wxS8K8+uoPPbvM4dvQA87bl4Cs2UIkyVGkSlmZN5hFs
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=66DgsI/ut/NUtFklXiPl3UyD2w8=; b=RVpJtLZmq2fgkeYGn
kW8DnNo9Wbo9+G2ls25J/coHwyZLMo1y9+e0q4Y0cg/t90R9mFVBNVUDTc4NbbEg
Xi9T03W16iDQ7BGT5vDKCjnN6DxddTj2LAygUWU1DO57MTGRSCT2YPuabg12SJct
dPhh5ZMaQ8iDVerF0z/8N4Vjew=
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-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: etr-usa.com
Message-ID: <52F2AA5D.4000000@etr-usa.com>
Date: Wed, 05 Feb 2014 14:17:17 -0700
From: Warren Young <warren AT etr-usa DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Newbie Questions
References: <1898639722 DOT 6893470 DOT 1391541591920 DOT JavaMail DOT root AT ptd DOT net> <52F153AE DOT 5080704 AT gmail DOT com> <52F28215 DOT 5030801 AT ptd DOT net> <52F28330 DOT 6060101 AT cygwin DOT com>
In-Reply-To: <52F28330.6060101@cygwin.com>
X-IsSubscribed: yes

On 2/5/2014 11:30, Larry Hall (Cygwin) wrote:
> On 2/5/2014 1:25 PM, Mike Rushton wrote:
>> does cygwin have a preferred extension for scripts ?
>
> No, the extension can be whatever you like.  By convention, bash/sh scripts
> with extensions use ".sh".

I'd bet there are more Bourne shell scripts in the world with no 
extension at all than .sh.

For the most part, Mike, POSIXy systems like Cygwin and Linux use magic 
bytes[1] and the shebang line[2] to figure out what is contained in a 
given file, rather than the file name.


[1] http://goo.gl/5F9P33
[2] http://goo.gl/XjINSi


--
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