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

'$1: unbound variable' in the line 'case "$1" in' #13

Open
ehula opened this issue Jan 12, 2022 · 1 comment
Open

'$1: unbound variable' in the line 'case "$1" in' #13

ehula opened this issue Jan 12, 2022 · 1 comment

Comments

@ehula
Copy link

ehula commented Jan 12, 2022

I can run the script from the command line just fine. However, I am running it on NixOS, and am trying to run it using an overlay. When I do so, I get the following error:
$1: unbound variable

refering to this line
case "$1" in

I think it is a bug with the script, and not the setup in NixOS.

@plushrib
Copy link

plushrib commented Aug 9, 2024

this is extremly late but put the script in your $PATH and install bc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants