Fixes for dash(1)