Skip to content
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

Cannot expand ${0_1} #29

Open
magicant opened this issue Sep 13, 2023 · 0 comments
Open

Cannot expand ${0_1} #29

magicant opened this issue Sep 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@magicant
Copy link
Owner

(Issue migrated from https://osdn.net/projects/yash/ticket/39289)

I'm not sure if the paraneter name 0_1 is acceptable or not in the first place, but the current behavior is inconsistent anyway.

$ typeset 0_1=foo
$ export 0_1
$ printenv 0_1
foo
$ echo ${0_1?}
yash: parameter `0_1' is not set

Maybe there should be a way to expand a variable with an arbitrary name possibly including unusual characters. See also #28.

@magicant magicant added the bug Something isn't working label Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant