
org.sonar.l10n.shellcheck.rules.shellcheck.SC2141.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-shellcheck-plugin Show documentation
Show all versions of sonar-shellcheck-plugin Show documentation
ShellCheck plugin for SonarQube
The newest version!
Did you mean IFS=$'\t' ?
Problematic code
IFS="\t"
Correct code
IFS=$'\t'
or POSIX:
IFS="$(printf '\t')"
Rationale
IFS="\t"
splits on backslash and the letter "t". IFS=$'\t'
splits on tab.
Exceptions
It's extremely rare to want to split on the letter "n" or "t", rather than linefeed or tab.
Related resources
© 2015 - 2025 Weber Informatics LLC | Privacy Policy