Description of problem:
As a RHUI admin, I'd like to take the output from "rhui-manager subscriptions list --available --pool-only" and use it as the parameter of "rhui-manager subscriptions register --pool ..."; this assumes that I only have a single pool available. However, I can't do that using $() or ``, as the output contains more than just the pool ID. The ~/.rhui/rhui.log file says:
The pool ID ESC[0m8a85f98b61e217aa0161ed24079a583e is not available
Check the output using | od -a to see the extra characters.
Version-Release number of selected component (if applicable):
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.