Mac & Bash3 compat.