BUG: ./linenum.sh: line 46: syntax error near unexpected token `|'
royharoush opened this issue · 1 comments
royharoush commented
local@local1:~$ ./linenum.sh ./linenum.sh: line 45: \n\e[00;31m############################################## ###########\e[00m: command not found ./linenum.sh: line 46: syntax error near unexpected token
|'
./linenum.sh: line 46: |tee -a $report 2>/dev/null' local@local1:~$ ./linenum.sh
the fix is to replace all occurrences of "\n\e[00;31m#"
whoot commented
Install 'colorama' and you should not get any errors.