[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] Awkward behavior of empty arrays
From: |
Chet Ramey |
Subject: |
Re: [Help-bash] Awkward behavior of empty arrays |
Date: |
Sat, 9 Sep 2017 15:03:32 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 9/7/17 7:57 PM, Andy Chu wrote:
>
> On Thu, Sep 7, 2017 at 1:09 PM, Chet Ramey <address@hidden
> <mailto:address@hidden>> wrote:
>
> On 9/7/17 4:00 PM, Andy Chu wrote:
>
> > I had noticed that some people discourage or complain about "bash-isms"
> > (this seems to be common in Debian.) As far as I can tell, most of
> those
> > things are historically "ksh-isms", but nobody calls them that.
>
> The comparison isn't against ksh. It's mostly made against dash, which is
> much "purer", or sometimes Posix. It happens the most on Debian because
> Debian uses dash as /bin/sh.
>
>
> Yes, I've done a lot of tests of dash behavior. I'm pointing out that
> certain things are called "bash-isms" that may not have originated with bash.
Sure. But they're called bashisms, regardless of where they originated,
because they exist in bash and don't exist in dash, so in the end it
doesn't matter. Nothing more complicated than that.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/
- Re: [Help-bash] Awkward behavior of empty arrays, (continued)
- Re: [Help-bash] Awkward behavior of empty arrays, Greg Wooledge, 2017/09/07
- Re: [Help-bash] Awkward behavior of empty arrays, Cristian Zoicas, 2017/09/07
- Re: [Help-bash] Awkward behavior of empty arrays, Greg Wooledge, 2017/09/07
- Re: [Help-bash] Awkward behavior of empty arrays, Andy Chu, 2017/09/07
- Re: [Help-bash] Awkward behavior of empty arrays, Chris F.A. Johnson, 2017/09/07
- Re: [Help-bash] Awkward behavior of empty arrays, DJ Mills, 2017/09/07
- Re: [Help-bash] Awkward behavior of empty arrays, Chet Ramey, 2017/09/07
- Re: [Help-bash] Awkward behavior of empty arrays, Andy Chu, 2017/09/07
- Re: [Help-bash] Awkward behavior of empty arrays, Chet Ramey, 2017/09/07
- Re: [Help-bash] Awkward behavior of empty arrays, Andy Chu, 2017/09/07
- Re: [Help-bash] Awkward behavior of empty arrays,
Chet Ramey <=
- Re: [Help-bash] Awkward behavior of empty arrays, Chet Ramey, 2017/09/07
Re: [Help-bash] Awkward behavior of empty arrays, Andy Chu, 2017/09/06