[arch-general] [PATCH 01/48] Bashification of initscripts

Caleb Cushing xenoterracide at gmail.com
Thu Jul 1 22:58:01 EDT 2010


On Wed, Jun 30, 2010 at 6:07 PM, Victor Lowther
<victor.lowther at gmail.com> wrote:
>> I don't see the need for this patch. functions is not supposed to be
>> executed standalone, it is only source'd from bash scripts.
>
> It is a habit I have -- including the shebang line at the top makes sure
> my text editors automatically detect the right shell syntax for syntax
> highlighting.

It has the added benefit of making it quite clear that the script will
not work on another POSIX shell.

-- 
Caleb Cushing

http://xenoterracide.blogspot.com


More information about the arch-general mailing list