ref: 7f2e1ae8748df1fed378180929bdb203aae7f64c dir: /bin/aconv2/
#!/bin/rc parm=() if(~ $1 -l){ parm=(-l) shift } pref=$1 for(i in $*(2-)){ echo $i audio/flacdec <$i | pcm2opus >`{echo $i | mfmt $pref opus} }