Post by @paul

What #shells are people using these days?

#ksh #zsh #mksh #csh #tcsh #pdksh #oksh #bash #sh #ash #dash #shell

Replying to @paul
Morgan
@kaidenshi @exquisite.social

@paul Obligatory not a developer, but I tend to use the default on the OS I'm using at the time. Bash on Void Linux and Haiku, ksh on OpenBSD, sh on NetBSD.

Sorry if that answer is boring and unhelpful, but I've dabbled with "new hotness" shells like fish and dash, and I just don't find them comfortable. I can't explain it, I guess I'm just too used to the old faithfuls.

@kaidenshi@exquisite.social @paul@paulwilde.uk not at all! Very good answer as it is exactly the thing I'm hitting all the time...the quirks of each shell when connecting in to different hosts.
I'm just trying to find "the one" - simple, but functional, and I can deploy a simple configuration file and be satisfied it will work everywhere.
Ksh (in oksh form) is looking like the best fit so far
Fish is eliminated from my enquiries...I have suffered too much pain in that shell đŸ˜‚

Replying to @paul
Morgan
@kaidenshi @exquisite.social

@paul In that case I'd say ksh or just plain sh, that way you avoid gotchas and weirdness. In my experience, ksh is just enough of an extension of sh to be helpful without being ornery or doing unexpected things.

I don't code for a living, but part of being a sysadmin is writing scripts, and I've found that just writing plain old sh scripts without relying on bash or other shell -isms gets me where I need to be most of the time. But again, my needs are simple so I stay simple. The extended and more featureful shells do serve a purpose for those who need them.

@kaidenshi@exquisite.social @paul@paulwilde.uk sysadmin here too, and I also script in sh
Question is more for interactive use.
I would use just plain sh, but, as I use Alpine which uses busybox I don't have the same variant as other places, and it's just a bit too limiting.
Ksh is feeling like the best bet for sure.
Had some success with csh too, but ksh is nicer

Replying to @paul
Morgan
@kaidenshi @exquisite.social

@paul I don't recall what it was about csh that I didn't like compared to ksh but for many years now I've preferred the latter.