News for hackers. Stuff that matters.
Re:Bash Pitfalls by bitsig on Tuesday September 08, 2020 @10:46PM (#24416383)

  >    get_nix_version(){
  >      # shellcheck disable=SC2046
  >      extract_nix_version $(nix --version)
  >    }
You might do something like:

  get_nix_version(){
      local IFS=' '
      extract_nix_version $(nix --version)
  }
if you want set "IFS=$'\n'" globally, and still be able split on space "locally".

Edit: Still needs the "# shellcheck disable=SC2046" stanza, though

There are no comments on this comment yet.