Yep, my thought exactly. My standard bash header is
#!/bin/bash
set -eu
IFS=$'\n\t'
(Wish there was a shorthand version of pipefail, then I'd always use that too.)