You explode lists manually into items when calling commands on a variable list of arguments instead of “quoting variables” to prevent them from exploding.
Who came up with the bullshit idea that exploding strings into words is such a common use case that this footgun is preferable to have an “explode lists” syntax?
Errors. No more set -euo pipefail; shopt -s lastpipe to beat some semblance of sanity into bash
Then give nushell a go. It’s basically a modern implementation of some of the better ideas Powershell had.
What were those?
Types.
You explode lists manually into items when calling commands on a variable list of arguments instead of “quoting variables” to prevent them from exploding.
Who came up with the bullshit idea that exploding strings into words is such a common use case that this footgun is preferable to have an “explode lists” syntax?
Errors. No more
set -euo pipefail; shopt -s lastpipeto beat some semblance of sanity into bash