[Top][All Lists]

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

Re: [Groff] [PATCH] Use bash for several contrib scripts

From: Mike Bianchi
Subject: Re: [Groff] [PATCH] Use bash for several contrib scripts
Date: Fri, 3 Jan 2014 10:13:08 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Jan 02, 2014 at 09:12:38PM -0500, Peter Schaffter wrote:
> On Thu, Jan 02, 2014, Mike Bianchi wrote:
> > How is someone attempting to understand a  #!/bin/sh  script to know what 
> > the
> > writer intended if there is no documented way to interpret the syntax?
> #!/bin/sh
> # This script is written for the bash shell.  See bash(1).
> Or is that just too obvious?

Wouldn't  #!/bin/bash  be more obvious and less error-prone?

For years my  /bin/sh  linked to  /bin/ksh  .  It took a while when debugging
 ~#/bin/sh  shells (often written for /bin/bash) to figure out _that_ was
what was burning me.

 Mike Bianchi
 Foveal Systems

 973 822-2085


reply via email to

[Prev in Thread] Current Thread [Next in Thread]