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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=gAN+VL10LoH1i75S
	QrYpJ/prO1g+0Yel0suJuxeNcLluJXX1N7N7yqlNvZBx7IzNtolwqO7/kyqXfiQl
	owlmp2DUU0DUW49ZcgWGh4iWUDljyl3Hp2BeSt32haDVdl7FOcIas1i2o4Fa7c5h
	e5D/coQFblPHgHM4+RtwphX/OjA=
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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=+DHSx+ndVRuhHMS5K1B0mA
	o6Xvo=; b=pSRCXBfl3nu3wuxnZ0R3zwamDhSe04nqocIMPZa5PXU3bJXCIHotoy
	hmEwB1ySF3jI0kMlZQNMHiDctprNe1/1ab2qVI7ziGWGnxEX9Iwhkg+WzGhA5N1n
	N0XsHQsoI9C4M1n6srD4qa1RQLl8Io0G4msooX5jc2ghpGdJIxX8o=
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-Spam-SWARE-Status: No, score=4.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Thu, 6 Feb 2014 02:02:14 +0400
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <1952788040.20140206020214@mtu-net.ru>
To: Warren Young <warren@etr-usa.com>, cygwin@cygwin.com
Subject: Re: Newbie Questions
In-Reply-To: <52F2AA5D.4000000@etr-usa.com>
References: <1898639722.6893470.1391541591920.JavaMail.root@ptd.net> <52F153AE.5080704@gmail.com> <52F28215.5030801@ptd.net> <52F28330.6060101@cygwin.com> <52F2AA5D.4000000@etr-usa.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Warren Young!

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

If you read his reply carefully, you will notice he explicitly stated "with
extension"...

> 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


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 06.02.2014, <02:01>

Sorry for my terrible english...


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

