shellで拡張子を落とす方法

shellで拡張子を落とす方法 : cut commandを使う

 name=$(echo "$filename" | cut -f 1 -d '.')