-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Main args do not expand to all arguments #265
Comments
Perhaps we could leave args in amber as it is and add a function in std or another library that supplies the script name (ie $0). |
@rbtylee Do you think that this would be too dramatic of a change? Perhaps for the skilled Bash developers this would be an anomaly to add |
@Ph0enixKM, I suppose I am thinking more in terms of backward compatibility. But considering the lack of much significant Amber code backward compatibility does not really matter much. And you raise a fair point. |
@rbtylee Since Amber is in it's early alpha stage I think that this is the best moment to introduce some of the breaking changes |
Closing as the code it's there and for the documentation we have a different repository that has to align with all the stuff. |
the args in the
main
block does not include the binary name. It seems that Bash developers chose to not include$0
in the$@
. What to do:args=("$@")
toargs=("$0" "$@")
The text was updated successfully, but these errors were encountered: