結果 : bash check if variable matches pattern