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
Well I can tell you that it has nothing to do with your shell. I tested it with BASH and the same happens. The code parsing the usage string into getopts arguments is not sophisticated enough or maybe it was never intended to support that. But don't let me stop you from scratching that itch of yours. We all would certainly welcome this new feature. :-)
Nice catch. Might be that this comment is from a time before the big rewrite of the usage string parsing. Of course this means that either the code is wrong or the comment.
I might be doing something wrong but it looks like variable expansion is not working for default values in my sell environment (Big Sur, Fish shell).
I have
Further down I have:
Here is my output:
The interesting thing is that it really prints out
${HOME}
instead of/Users/myusername
.However, when I use
${HOME}
directly in the script it works.One observation from my shell:
The text was updated successfully, but these errors were encountered: