Closed DRuggeri closed 4 years ago
I've noticed that, at least on my silly UPS, some values are returned with trailing spaces within the quotes. This is a quick fix to trim all spaces from such cases.
Example:
GET VAR ups device.serial VAR ups device.serial "4B1538P29631 "
Thanks! 🐬 🍪 💯
I've noticed that, at least on my silly UPS, some values are returned with trailing spaces within the quotes. This is a quick fix to trim all spaces from such cases.
Example: