Bash 4 Mavericks now supports use of \w