結果 : bash get extension from variable