You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But my first experiment revealed it needs a bit of tweaking. Did not allow for the valid syntax in a working script as described below...
In the output below, local _help_text="${@:2}" concatenates the function's positional arguments 2 and greater into a string and assigns them to the variable $_help_text...
48 local _help_text="${@:2}"` ^––SC2124 Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
The text was updated successfully, but these errors were encountered:
But my first experiment revealed it needs a bit of tweaking. Did not allow
for the valid syntax in a working script as described below...
In the output below, local _help_text="${@:2}" concatenates the
function's positional arguments 2 and greater into a string and assigns
them to the variable $_help_text...
48 local _help_text="${@:2}"`
^––SC2124 Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
—
Reply to this email directly or view it on GitHub #214.
Nice tool! Plan to use it.
But my first experiment revealed it needs a bit of tweaking. Did not allow for the valid syntax in a working script as described below...
In the output below,
local _help_text="${@:2}"
concatenates the function's positional arguments 2 and greater into a string and assigns them to the variable $_help_text...The text was updated successfully, but these errors were encountered: