Hi Ken! Another real scripting idea: #!/bin/bash # [some awk stuff here, around this] my_length=`ecalength $1 | awk '{ split($0,myarr,"wav:"); print myarr[2] }' | awk 'print $1 }'` ecasound [your options] -a:all -t:$my_length Could probably done more easily. HTH! Kindest regards Julien -------- Music was my first love and it will be my last (John Miles) ======== FIND MY WEB-PROJECT AT: ======== http://ltsb.sourceforge.net the Linux TextBased Studio guide ======= AND MY PERSONAL PAGES AT: ======= http://www.juliencoder.de _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user