cue2toc is a free program for UNIX systems to convert CUE files to cdrdao's
TOC format. Features include: support for complete set of CUE commands (e.g.
catalog number, data and audio tracks, ISRC codes, CD-Text, Pre-/Postgaps
(with zero data or data from file), subindexes etc.), automatic determination
of session type and conversion of data files by user configurable commands
based on file name extension matching.