Remove File Extension using sed
Monday, July 2nd, 2007
Get just the file title without the extension in a variable.
file_name=$1
file_title=`echo $1|sed 's/\..\{3\}$//'`
Get just the file title without the extension in a variable.
file_name=$1
file_title=`echo $1|sed 's/\..\{3\}$//'`