On Sun, Nov 02, 2014 at 11:45:48AM +0100, mikkel meinike wrote:
> 
> #Removes the file extension so I only have the base name
> 
> rose=`echo "$1" |sed 's/.pnm//'`
> 
A simpler way:

        rose=${1%.pnm}

Cheers,

  ulrich

Reply via email to