[Techtalk] Question: sed s option in a shell script
Sabine Konhaeuser
sjmk at gmx.net
Wed Mar 16 01:17:51 EST 2005
On Tuesday 15 March 2005 01:23, Dan wrote:
> This discussion is a classic example of how geeks can't resist a
> chance to optimise or improve.
>
> >> lame --preset standard "$FILE" "${FILE%.wav}.mp3"
> >
> > It seems lame does not like curly brackets.
>
> lame shouldn't see the curly brackets. The "${FILE%.wav}" expands
> to the same thing as $FILE, minus the the ".wav" at the end.
> However, it only works in bash.
Thanks for the info.
--
Sabine
More information about the Techtalk
mailing list