Archive for July 2nd, 2007

Remove File Extension using sed

Get just the file title without the extension in a variable.


file_name=$1
file_title=`echo $1|sed 's/\..\{3\}$//'`