Re: [PATCH 01/48] Bashification of initscripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxx> 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 


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux