Carla Schroder said: > On Monday 08 March 2004 4:05 pm, Ken Brush wrote: >> Try using basename >> Here's the example: >> >> for i in `ls *.wav`; do echo -e "$i"; sox $i `basename $i .wav`.cdr; >> done > > OMG that is cool. There are more weird little specialized unix commands > than I > shall ever know. :)
I also forgot to mention that "for i in *.wav" is the same as "for i in `ls *.wav`" -Ken _______________________________________________ PDXLUG mailing list [EMAIL PROTECTED] http://pdxlug.org/mailman/listinfo/pdxlug