On Thu, 2010-07-01 at 22:58 -0400, Caleb Cushing wrote:
> On Wed, Jun 30, 2010 at 6:07 PM, Victor Lowther
> <victor.lowt...@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 

Reply via email to