diff --git a/SC2141.md b/SC2141.md index 4359097..2f6fe8d 100644 --- a/SC2141.md +++ b/SC2141.md @@ -11,6 +11,12 @@ IFS="\t" ```sh IFS=$'\t' ``` +or POSIX: + +```sh +IFS="$(printf '\t')" +``` + ### Rationale: @@ -19,3 +25,8 @@ IFS=$'\t' ### Exceptions It's extremely rare to want to split on the letter "n" or "t", rather than linefeed or tab. + + +### Related resources + +See https://github.com/koalaman/shellcheck/wiki/SC1012 \ No newline at end of file