-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC2141
Joachim Ansorg edited this page Nov 12, 2021
·
5 revisions
IFS="\t"
IFS=$'\t'
or POSIX:
IFS="$(printf '\t')"
IFS="\t"
splits on backslash and the letter "t". IFS=$'\t'
splits on tab.
It's extremely rare to want to split on the letter "n" or "t", rather than linefeed or tab.
See https://github.com/koalaman/shellcheck/wiki/SC1012