i have the variable $filename which i'd like to strip of it's extension. i mean for example in perl i'd simply do
and that'd leave me with the name minus the extension. Has anyone any ideas about how i can do this with a bash script?Code:$filename =~ s/(.+?)\..*/$1/;
thanks,
-Sean


Reply With Quote
Bookmarks