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
One of the things I really like about PowerShell is the “verb-noun” convention. It makes things a lot easier when learning by examples. Wtf is a sed or an awk? But New-Item -Type Directory oh yeah that makes sense.
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 bashOne of the things I really like about PowerShell is the “verb-noun” convention. It makes things a lot easier when learning by examples. Wtf is a
sedor anawk? ButNew-Item -Type Directoryoh yeah that makes sense.