-
-
Notifications
You must be signed in to change notification settings - Fork 380
Open
Labels
Description
With shfmt from current git:
$ echo 'arr=(${=space_separated_param})' |shfmt -ln zsh
<standard input>:1:8: invalid parameter nameFrom zshexpn(1), the = syntax (supported as both $=name and ${=name}) applies shell splitting to the value of name, expanding to an array of values. As near as I can tell, it is the canonical zsh way to go from space-separated, quoted values to arrays.
Reactions are currently unavailable