[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
address@hidden
http://www.AutoAuditorium.com
http://www.FovealMounts.com
- [Groff] Fwd: Re: <OK> Re: [PATCH] Use bash for several contrib scripts, Daode, 2014/01/02
- Re: [Groff] [PATCH] Use bash for several contrib scripts, Ingo Schwarze, 2014/01/02
- Re: [Groff] [PATCH] Use bash for several contrib scripts, Roger Leigh, 2014/01/02
- Re: [Groff] [PATCH] Use bash for several contrib scripts, Ingo Schwarze, 2014/01/02
- Re: [Groff] [PATCH] Use bash for several contrib scripts, Mike Bianchi, 2014/01/02
- Re: [Groff] [PATCH] Use bash for several contrib scripts, Peter Schaffter, 2014/01/02
- Re: [Groff] [PATCH] Use bash for several contrib scripts, Roger Leigh, 2014/01/03
- Re: [Groff] [PATCH] Use bash for several contrib scripts, Peter Schaffter, 2014/01/03
- Re: [Groff] [PATCH] Use bash for several contrib scripts,
Mike Bianchi <=
- Re: [Groff] [PATCH] Use bash for several contrib scripts, Werner LEMBERG, 2014/01/03
- Re: [Groff] [PATCH] Use bash for several contrib scripts, Ralph Graulich, 2014/01/03
- Re: [Groff] [PATCH] Use bash for several contrib scripts, Ralph Corderoy, 2014/01/03