On 2026-10-24 14:10, Kenny McCormack wrote:
> In article <11bh…@dont-email.me>, > Janis Papanagnou <jani…@hotmail.com> wrote:
>> On 2026-10-24 05:59, c186282 wrote:
>>> >>> KSH and BASH are "mostly compatible". Minor diffs but >>> nothing hard to get around. Anything you can do in KSH >>> can be done in BASH.
>> >> This is not correct. While Bash has over time adopted quite >> some features from Ksh - but sadly needed often far too many >> years for that - there's still a lot substantial functions >> in Ksh that Bash has not implemented (or substituted by some >> equivalent feature).
> > I think you're taking Speedy way too seriously here. All of your points > are valid, of course, but it should not be necessary to respond to the > troll.
Oh, I didn't knew that he's considered a troll. His post looked just uninformed, or opinionated, not trollish.
> > BTW, you assert that there are (many) features of Ksh that are not (yet) > present in bash. I'm not doubting you, but I am curious about examples. > It seems to me that if you assert something like that, you should give > examples.
Mind that his post says "Minor diffs"; and I was not (not primarily) addressing the absolute number of features but those features that are hard(er) or in practice impossible [based on existing functions] to substitute. Off the top of my head I had been thinking of discipline functions, or the "type system" - these are very closely embedded in the shell. Note that while these features are probably not widely used there's also many often used details I used, functions and options, that Bash doesn't have as I noticed over the time. I've occasionally mentioned those in some posts that where about such functionality, but I'm too lazy to create a list or something, which would require to re-test every features whether one or another has meanwhile been implemented; that would be too much effort.[*]) Janis [*] After finishing writing the post I remembered that we could ask a search machine AI, but strangely it had no or found any substantial information, not even the obvious examples; so we have to rely on the experts or own experience here.