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

Victor Lowther victor.lowther at gmail.com
Thu Jul 1 23:41:23 EDT 2010


On Thu, 2010-07-01 at 22:58 -0400, Caleb Cushing wrote:
> 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.

Indeed.

-- 
Victor Lowther
LPIC2 UCP RHCE 


More information about the arch-general mailing list