--- ./abcde.orig 2010-05-29 11:02:44.000000000 +0200 +++ ./abcde 2011-03-11 07:56:10.638294344 +0100 @@ -3569,8 +3569,8 @@ m4a:*) AACENCODEROPTSCLI="$( echo $OUTPUT | cut -d: -f2- )" ;; esac done - for OUTPUT in "$(echo "$OUTPUTTYPE" | tr , \ )"; do - TEMPOUTPUT=$( echo "$OUTPUT" | cut -d: -f1 ) + for OUTPUT in "$(echo "$OUTPUTTYPE" | tr \ \| | tr , \ )"; do + TEMPOUTPUT=$( echo "$OUTPUT" | tr \ \| | cut -d: -f1 ) TEMPOUTPUTTYPE="${TEMPOUTPUTTYPE:+$TEMPOUTPUTTYPE,}$TEMPOUTPUT" done OUTPUTTYPE="$TEMPOUTPUTTYPE"