--- extras/cuetag.sh 2006-09-06 14:24:47.000000000 -0400 +++ extras/cuetag.sh 2007-01-26 00:13:23.000000000 -0500 @@ -63,7 +63,7 @@ (for field in $fields; do value="" for conv in `eval echo \\$$field`; do - value=`$CUEPRINT -n $1 -t "$conv\n" $cue_file` + value=`$CUEPRINT -n $1 -t "$conv\n" "$cue_file"` if [ -n "$value" ]; then echo "$field=$value" @@ -96,7 +96,7 @@ for field in $fields; do value="" for conv in `eval echo \\$$field`; do - value=`$CUEPRINT -n $1 -t "$conv\n" $cue_file` + value=`$CUEPRINT -n $1 -t "$conv\n" "$cue_file"` if [ -n "$value" ]; then break @@ -141,14 +141,14 @@ cue_file=$1 shift - ntrack=`cueprint -d '%N' $cue_file` + ntrack=`cueprint -d '%N' "$cue_file"` trackno=1 if [ $# -ne $ntrack ]; then echo "warning: number of files does not match number of tracks" fi - for file in $@; do + for file in "$@"; do case $file in *.[Ff][Ll][Aa][Cc]) vorbis $trackno "$file"