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

Missing key appears in the text #19

Open
ezaton opened this issue Sep 24, 2023 · 0 comments
Open

Missing key appears in the text #19

ezaton opened this issue Sep 24, 2023 · 0 comments

Comments

@ezaton
Copy link

ezaton commented Sep 24, 2023

I have a script with some variables which might be in use. For example - I might have 'Connection-UserAgent'. If I do, the script runs correctly, however, if I don't, I will get the following command output:
/usr/bin/sudo /usr/sbin/openconnect {s:Connection-UserAgent}
So handling of a missing key will not leave it empty.

This could affect a standardised condition of 'if a key exists, use it, or else leave empty', with currently missing if/then options in the language (without complex constructs of one-line-shell-handling all possible conditions).

Thanks!

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