165
mood = rule (lemmy.world)
submitted 10 months ago by electric@lemmy.world to c/196@lemmy.blahaj.zone
you are viewing a single comment's thread
view the rest of the comments
[-] Hildegarde@lemmy.world 13 points 10 months ago

bash: let: =: syntax error: operand expected (error token is "=")

[-] EvokerKing@lemmy.world 9 points 10 months ago

What programming language are you assuming this is? I'm thinking of it as JavaScript in my head and I don't think there would be any errors.

[-] electric@lemmy.world 2 points 9 months ago

It's Swift, the Apple language.

[-] isVeryLoud@lemmy.ca 8 points 9 months ago

It's also perfectly valid JS.

[-] lars@lemmy.sdf.org 1 points 9 months ago

Bash ain’t got no ternary does it?

this post was submitted on 20 Jan 2024
165 points (100.0% liked)

196

16494 readers
2462 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS