LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   2015 LinuxQuestions.org Members Choice Awards (https://www.linuxquestions.org/questions/2015-linuxquestions-org-members-choice-awards-117/)
-   -   Shell of the Year (https://www.linuxquestions.org/questions/2015-linuxquestions-org-members-choice-awards-117/shell-of-the-year-4175562734/)

jeremy 12-30-2015 05:40 PM

Shell of the Year
 
A new category this year.

--jeremy

rokytnji 12-30-2015 05:42 PM

bash but trying to learn fish in my spare time.

Hasek39 12-31-2015 05:15 AM

bash because it became the standart.

dugan 01-03-2016 12:08 PM

FISH. Five minutes after using it, I said WHERE WERE YOU ALL MY LIFE and never went back.

Comparing FISH to ZSH proves that it's better to have good defaults and a lean design, than it is to have customizability (with the defaults all set to the wrong values) and the kitchen sink.

PrinceCruise 01-04-2016 10:27 AM

Haters gonna hate. Bash it is.

Regards.

astrogeek 01-04-2016 05:19 PM

Quote:

Originally Posted by PrinceCruise (Post 5472916)
Haters gonna hate. Bash it is.

Yea, and I don't really get all the bash bashing.

So I agree, bash it 'ism'.

dunne 01-05-2016 07:37 AM

Quote:

Originally Posted by astrogeek (Post 5473075)
Yea, and I don't really get all the bash bashing.

You don't? Maybe you're shellshocked!

PrinceCruise 01-05-2016 07:55 AM

Quote:

Originally Posted by dunne (Post 5473325)
You don't? Maybe you're shellshocked!

Only if he's been running an Apache server. ;)

Myk267 01-05-2016 12:16 PM

Quote:

Originally Posted by dugan (Post 5472537)
FISH. Five minutes after using it, I said WHERE WERE YOU ALL MY LIFE and never went back.

I tried it out and I don't disagree at all.

astrogeek 01-05-2016 06:33 PM

Quote:

Originally Posted by dunne (Post 5473325)
You don't? Maybe you're shellshocked!

Well, granted, that was a bad bit of code (hardly qualifies as a bug since it was a feature!). In fact, it was more like a well implemented but stupid idea!

But the bash bashing I refer to is not related really to shellshock, but more the frequent references to bash-isms and a kind of shell-snobbery that seems less good humored than say, vi vs emacs snobbery, or Slackware vs everything-else snobbery.

Features unique to bash are called bash-isms with a sneer, whereas features unique to other software are called... unique features.

Anyway, I unabashedly like bash. ;)

Timothy Miller 01-05-2016 06:42 PM

I like bash. But I've only used anything else for mere MOMENTS, so really have no great amount of experience to go with anything else. But then, since every distro I like defaults to bash, I've never had a HUGE reason to try something else (I figure if it's THAT much better, ONE of the distro's I liked would default to it).

teresaejunior 01-05-2016 11:25 PM

I have tried others many times, but I don't really like the default behaviour of most alternatives. I have many bash scripts and bashisms are really good too, but if I had to go back in time and learn a shell, I'd go probably with ksh, because bash is really too slow.

But still, bash is the best compromise if you want to run the same shell in the terminal and on scripts. zsh is great for interactive mode, but I heard it is not so great for scripts. On the other hand, ksh is a good shell for scripts and way faster than bash, and has some nice features like floating point arithmetic that bash has not, but I tried setting it up for interactive use, and I found it to be really bad!

digigold 01-07-2016 05:07 AM

#!/bin/bash

dugan 01-07-2016 11:14 AM

Quote:

Originally Posted by teresaejunior (Post 5473707)
zsh is great for interactive mode, but I heard it is not so great for scripts.

Eh?

I started doing all my Slackware shell-scripting in zsh last year.

teresaejunior 01-07-2016 11:29 AM

Quote:

Originally Posted by dugan (Post 5474482)
Eh?

I started doing all my Slackware shell-scripting in zsh last year.

I read that on Stack Exchange: http://unix.stackexchange.com/questi...ux/28813#28813 It seems to have improved a bit over the years, though.

I found a few minor annoyances while trying to convert a bash script to zsh, like for example `[[ $var ]]` doesn't work, I had to use `[[ -n $var ]]` instead.


All times are GMT -5. The time now is 12:23 PM.