In /usr/bin/xzgrep line 49: s/'\''/'\''\\'\'''\''/g ^-- SC1003: Want to escape a single quote? echo 'This is how it'\''s done'. ^-- SC2016: Expressions don't expand in single quotes, use double quotes for that. In /usr/bin/xzgrep line 183: '* | *'&'* | *'\'* | *'|'*) ^-- SC1003: Want to escape a single quote? echo 'This is how it'\''s done'. For more information: https://www.shellcheck.net/wiki/SC1003 -- Want to escape a single quote? ec... https://www.shellcheck.net/wiki/SC2016 -- Expressions don't expand in singl...