This little shell script is a good example of how to simplify a task with a wrapper script. Rather than trying to remember which settings to use for cdrecord, I just run my cdroast.sh script.
----- begin script -----
# scottm, 2005-07-20
# wrapper for cdrecord
if [ $INPUT ]
cdrecord -v -sao dev=0,0,0 $INPUT
printf "\nEnter name of file\n"
printf "e.g. $0 filename.iso\n\n"
----- end script -----
Now, with the script in my path, all I have to type is:
$ cdroast.sh myfile.iso
and the burn process will start.
This type of script is often called a wrapper, since it wraps a simple script around a more complicated procedure.