use bash where shopt is required