generate_toc - shell script contributed by
               David Obadia <dobadia@aurora-linux.com>

This small script creates a toc-file (always cd.toc) containing a track
entry for each file specified in the argument list. Audio tracks are
created for files with postfix ".wav". All other files are treated as
data track image files and the tracks will be written in MODE1.

When the environment variable 'DATA' is set the toc-type will be set to
CD_ROM. Otherwise CD_DA is used.

Usage: 

    Create a toc-file for a data CD:

        env DATA=1 generate_toc.sh stuff.iso

    Create a toc-file for an audio CD:
         
        generate_toc.sh t1.wav t2.wav ...
