xsos icon indicating copy to clipboard operation
xsos copied to clipboard

xsos -x throws errors

Open johanburati opened this issue 3 years ago • 0 comments

When running xsos with the -x option to disable the colorization it throws errors. Just removed the color codes on those lines for the script to complete:

$ xsos -x another-sosreport
./xsos: line 730: \033[0;31m: syntax error: operand expected (error token is "\033[0;31m")
...
$ xsos -x another-sosreport
./xsos: line 1027: \e[91m: syntax error: operand expected (error token is "\e[91m")
...
$ xsos -x another-sosreport
./xsos: line 1208: \033[0;31m: syntax error: operand expected (error token is "\033[0;31m")

johanburati avatar May 26 '22 08:05 johanburati