News for hackers. Stuff that matters.
Re:The split personalities of shell usage by throwaway20371 on Monday November 01, 2021 @11:18AM (#29067814)
> if { = 0 == 1 } then {

What in the heck is that first '=' for?

Re:The split personalities of shell usage by bccdee on Monday November 01, 2021 @11:23AM (#29067905)
I assume `=` is the equivalent of `test` — it's a function invocation, and `[0, ==, 1]` are its arguments.
Re:The split personalities of shell usage by hnlmorg on Monday November 01, 2021 @11:23AM (#29067901)
Everything is a function. So = is a function name for logical and mathematical operations.

https://murex.rocks/docs/commands/equ.html

Re:The split personalities of shell usage by tzot on Monday November 01, 2021 @12:34PM (#29069103)
A renamed `expr` of the shell.