Mike Small <[email protected]> > > 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 [email protected] https://www.linkedin.com/in/n1vux -- Bill Ricker [email protected] https://www.linkedin.com/in/n1vux _______________________________________________ Discuss mailing list [email protected] http://lists.blu.org/mailman/listinfo/discuss
