This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newbie Questions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]