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=vOxCCni/e6AVTqr0y4IIE9mKFVKyWLymCYa4q5ktFGi ndSPwcUkBf2897A6d0ekqi2Oqwkdv1pP9zsC0DMuItRdYGzd5Vm2cJw04+TQzp4g EX5V5cRZj6tbctyYaMbG2zkP2kMtenB2yZhEwnqzwtNROyWSac5mxnDvhUwuR4Ws = 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=FHq4urmZUg79isb0JuQqXjqkZF8=; b=SQ1cNOuajruUi2NCH UJLW5tt2zdJC18DhKobOWl2VeiDj+txWsjSkLsxCxSXPksp3CuYdJXcNh/7fYDVR YqyZX3GgXOMWJ3gbbUBELQpv1dEjJowSngnxJ/jGiAAAWaNNFAkEeyRPGF/OP+h7 OOMbBrZyK89JS6cJ5Kab6BYUm0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-2.4 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: proxyz11.mailnet.ptd.net Message-ID: <52F2B0BC.70806@ptd.net> Date: Wed, 05 Feb 2014 16:44:28 -0500 From: Mike Rushton User-Agent: Mozilla/5.0 (Windows NT 5.1; 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> <52F2AA5D DOT 4000000 AT etr-usa DOT com> In-Reply-To: <52F2AA5D.4000000@etr-usa.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Right ... the extension is a windows thing. Most of the bourne shell scripts i have come across have no extension. Some have the Shebang line ... while others don't have it. I am still in the planing stages ... I am not sure if I am going to use an extension or not. It might be a good idea to use .sh and then you would know that it is a script. On 2/5/2014 4:17 PM, Warren Young wrote: > 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 > > -- 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