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

Filename Spaces #24

Merged
merged 6 commits into from
Sep 24, 2024
Merged

Filename Spaces #24

merged 6 commits into from
Sep 24, 2024

Conversation

servidge
Copy link
Contributor

Here is the fix for issue #23.
This replaces all spaces in the commands with a '-' in the filename. The regex incorrectly excluded whitespace, \s from the replacement.
The other trim command cleans the commands from the send-commands-from-file of leading or trailing whitespace. The send-command commands from inventory.yaml were and are not affected.

servidge and others added 6 commits September 20, 2024 23:40
botch fixed ;)
\ in filenames is sub-optimal and there is no list "s."
\s removed. whitespace should be replaced
trim commands from send-commands-from-file files for filenames.
"show version " || " show version" || " show version "
> filename "show-version"
@hellt hellt merged commit 9ca7c9a into hellt:master Sep 24, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants