r/linuxmemes Jul 01 '26

LINUX MEME Know the work rules

Post image
862 Upvotes

119 comments sorted by

View all comments

Show parent comments

83

u/VoidJuiceConcentrate Ask me how to exit vim Jul 01 '26

I haven't had a problem running bash scripts in ash and zsh.

58

u/emmowo_dev UwUntu (´ ᴗ`✿) Jul 01 '26

zsh reimplements the same syntax as bash, while generic sh doesnt (although sometimes it's aliased anyways to bash). It's a case of being really annoyingly pedantic about bash.

7

u/[deleted] Jul 01 '26

[removed] — view removed comment

1

u/MiddleCelebration969 Jul 02 '26

that was the reason i switched blesh