[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: scripting question



> 
> Are we trying to optimize the thrown together?  How about one (1) line
> for both ???
> 
> 	echo $file | sed 's!^.*/!!;s!\..*$!!'
> 

sed is powerful but I prefer the simplest way:

basename $file .mp3



Reply to: