Check for hidden characters in Bash String

If you pipe the line(s) to “od -c” you will be able to “see” the special characters (\t for tabs, etc.). That should help you make a more precise fix.

Example:

cat file.txt | od -c