Branch: refs/heads/mej/fix/14-subshell-quote-args
Home:
https://github.com/mej/nhc
Commit: a5a0cd75aae1f2e41fb3003b0d9876d0b5afaad3
https://github.com/mej/nhc/commit/a5a0cd75aae1f2e41fb3003b0d9876d0b5afaad3
Author: Michael Jennings <
m...@lanl.gov>
Date: 2023-04-10 (Mon, 10 Apr 2023)
Changed paths:
M nhc
Log Message:
-----------
nhc: Use subshell syntax for offline/online ops
Using `eval` to invoke the node online and offline helper utilities
makes some assumptions about the content of each variable, and those
assumptions don't always match up with reality.
As suggested by @thedavidwhiteside in #14, using a subshell allows for
the same result but takes advantage of BASH-internal quoting
mechanisms that are content-driven. No assumptions needed.
For consistency, I updated both the "online" and "offline"
invocations.
Fixes #14.