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

Bash's 'nounset' yields 'ZSH_VERSION: unbound variable' #28

Open
LinuxOnTheDesktop opened this issue Oct 26, 2023 · 0 comments
Open

Bash's 'nounset' yields 'ZSH_VERSION: unbound variable' #28

LinuxOnTheDesktop opened this issue Oct 26, 2023 · 0 comments

Comments

@LinuxOnTheDesktop
Copy link

I put the latest code of s.sh into a file.

I created this:

#!/usr/bin/env bash
set -o nounset
source "/my/path/h.sh" # replace with a real path
echo "abcdefghijklmnopqrstuvxywz" | h a b c d e f g h i j k l

Result: h.sh: line 59: ZSH_VERSION: unbound variable,

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

1 participant