Pattern: Suspicious IFS
assignment
Issue: -
IFS="\t"
splits on backslash and the letter "t". IFS=$'\t'
splits on tab.
Example of incorrect code:
IFS="\t"
Example of correct code:
IFS=$'\t'
It's extremely rare to want to split on the letter "n" or "t", rather than linefeed or tab.