[csw-maintainers] cswpkgloghooks, shell choices

Philip Brown phil at bolthole.com
Mon Apr 5 22:31:43 CEST 2010


On Mon, Apr 5, 2010 at 12:46 PM, Ben Walton <bwalton at opencsw.org> wrote:
> Excerpts from Philip Brown's message of Mon Apr 05 15:39:51 -0400 2010:
>
>> ksh is standard (been there since almost forever), and is even on
>> boot cdroms.  But you wont use that either, I presume.... The true
>> reason, I'm guessing, being that "it's not bash" :-)
>
> You presume wrong.  If I was familiar with ksh, I'd turn to that
> first.

oh, wonderful!


> I'm not...and I see _zero_ value in learning it in 2010.  Bash
> is 'standard enough'

except that this reinforces my original assumption :-}
but hang on a minute....

> as it's on sol8+, which for CSW purposes is all
> that's required.  It lets me do things without calling out to external
> tools for something simple like this, which is why I didn't turn to
> xpg4/bin/sh.
>

Some points for your consideration,though:

1. /bin/ksh actually has most of the useful features of xpg4/bin/sh

2. Similarly, most built-in things in bash, are also built-in for ksh.

PS; technically, i think bash is still *optional* for sol8.
It's not in SUNWCreq
It's also "optional" in sol9. again, not in SUNWCreq.
Checking...
Nope, it's not in sol10 SUNWCreq either. So it's still in "optional"
status for sol10!

But ksh is *always* there. (It's part of SUNWcsu, even)


More information about the maintainers mailing list