awk '!/^#/ && NF>=3 print $1, $3-$2' input.xmcd > output.mcd
You might need a converter for one of the following reasons: xmcd mcd converter
Mount the .mcd file using a virtual drive (like WinCDEmu). If your operating system recognizes it as an audio CD, the conversion was successful. awk '!/^#/ && NF>