BASH IS SHIT!

Holy fuck Jow Forums I wasted my morning trying to programming
in this shit language (if you can even call it a language)
>put a space by a = fuck you
>put a space in a random place it didn't expect fuck you & it wont tell you where the problem is
>try to save results inside a pipe fuck you
>want your output saved with newlines instead of smashed the fuck together, just kill yourself
>want to save your piped results to an array, impossible
>your code worked once now it doesn't, no you didn't make changes it just fucking stopped working
fuck it all
I'll take powershell, ruby, python, even fucking C over this crap

any way, how was your morning Jow Forums?

picture is not related

Attached: 1016lofts-apartment-front.jpg (3024x4032, 3.68M)

kys retard.

>he doesn't do all his server side scripting in Node.js

no you

half of these are basically
>I didn't use the proper syntax, why doesn't it work
and the other half is you being a retard

Yeah bash is pretty fucked
There's a reason perl was so popular
It was a better scripting language for linux tasks
Nowadays python is preferred, as it's more readable

Sometimes though, a simple five to ten line bash script does the trick

shouldn't you be using awk if you want Features?

I don't think Bash syntax is defensible

prepare for retards trying to defend it
it's the shittiest things I've seen in unix, and there is plenty of shit to pick from

set -euo pipefail

thank me later

perl is great. OP should check out "minimal perl for linux and unix people"

nice reddit meme

>linux
>unix
fuck off retard

>set -euo pipefail

Also use shellcheck. Makes this shit a ton easier.

>set -euo pipefail
This is cancer, stop spreading it.
Shellcheck however is godlike.

>minimal perl for linux and unix people
sounds good, I'll check it out

the syntax is ASS & the logic make no sense
I can pipe in powershell and do a foreach loop
with a | %{ $_ } and place my variable any where
I want to pass the pipe. I can do the same in perl

I was lazy and I didn't want to import os then externally
call the commands I needed, but I'll say fuck it next time
use and use python

Bash is pretty bad and yet I love it.

bash -x

Dumbass.

>shellcheck
thank you anons
I needed this

git gud

>calling anyone a dumbass
>tripcoding

more than 10 lines just do it in python

Nah. Bash only gets tedious to use once you hit 500 and painful after 1000 lines.

Bash syntax is fucking stupid

I do a lot of PowerShell scripting at work (forced to) and I enjoy it way more.

learning bash is pain faggot. people learn it till all their life.

bash -x myscript

sometimes i would open a bash script i wrote years ago and wonder HOLY SHIT I WAS SO SMART WHAT HAPPENED.

Yo-Do? How-Could-You.

>BASH IS SHIT!
Yeah.

Attached: _bmw_ - Globohomo, nightmare edition(1).jpg (255x241, 15K)

that's not why bash is bad, all it really needs is a non-integer numeric type.