bash3 compatibility