5 while getopts a: opt; do
7 a) TRACK="-a $OPTARG" ;;
10 shift `expr $OPTIND - 1`
13 echo "Usage: $0 input_dir [type [codec]]"
15 elif [ -z "$2" ]; then
18 elif [ -z "$3" ]; then
21 elif [ -z "$4" ]; then
25 echo "Usage: $0 input_dir type codec"
29 tccat -i "$1" | tcextract -t "$type" -x "$codec" $TRACK | tcdecode -x "$codec" | tcscan -x pcm