1. Missing quotes
#======================================== [me@linuxbox me]$ ./trouble.bash ./trouble.bash: line 8430: unexpected EOF while looking for matching " ./trouble.bash: line 8440 systax error: unexpected end of file #======================================== We have 2017, please add suggestions for errors For example for " #=========================== VAR=$(cat file | sed 's/[^"]//g' | awk '{ print length }' | cat -n | grep "[13579]$" | awk '{print $1}') echo "We suggest check $VAR" echo "because this lines of file, contain an odd number of quotes " #=========================== 2. Please hide e-mail for google bots, or remove this e-mail after read. Thanks ! :-)