Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

BLU Discuss list archive


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

[Discuss] through the looking glass



 Mike Small <smallm at sdf.org>
> > Not portable in that "[[" is specific to Bash. You may not find it in
> > other Bourne-derived shells.
>
> ksh, either the real thing or one of the pdksh derived ones, has it the
> same way. I'm starting to get the impression that some large number of
> what people call bashisms come from David Korn

Yes, there was much interchange between BASH and KSH on experimental features.

For quite a while, unless you were on specific proprietary Unices
(e.g. AIX), the only way you could get the latest KSH features was in
BASH, since only the early one was in Linux or Gnu for Windows.


> Which are the the shells that don't give you [[?  Looks like dash
> doesn't have it, from the man page (so ash too I assume).

Right, minimalist modern extensions like (D)?ASH that go back to SH
roots will be SH like, not (BA|K)SH like.


> What's the
> expression, "posix me harder?"

"The nice thing about standards is there are so many to choose from."

--
Bill Ricker
bill.n1vux at gmail.com
https://www.linkedin.com/in/n1vux


-- 
Bill Ricker
bill.n1vux at gmail.com
https://www.linkedin.com/in/n1vux



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org