geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KHAksnes <>
Subject Re: What's the reason why not to add .sh extension to geornimo scripts ?
Date Mon, 04 Jul 2011 13:47:03 GMT
It is not common to add a .sh suffix in the Unix and Linux world for several
   * It isn't needed: Scripts starting with  "#!" followed by the
interpreter path is sufficient.
   * File types as used by Microsoft and other doesn't really exist in
Posix. Some file suffixes are more or less standardized by convention, like
.c and .h but this is more for the benefit of the toolchain, not for the
operating system or shells.
   * By avoiding adding suffixes users of a script doesn't have to change
anything if the script is reimplemented using another scirpting language.
Shells in general doesn't strip suffixes; A script named will
normally have to be invoked as not as foo. 

View this message in context:
Sent from the Development mailing list archive at

View raw message