#!/bin/sh if [ "$#" = "0" ] then echo echo "Error: No file names specified!" echo echo "Syntax: `basename $0 .sh` { }" echo echo "This script converts a list of files" echo "from UNIX to MS-DOS text format." echo echo "sd&m sb 94" echo else while [ "$1" ] do echo "Converting '$1' from UNIX to MS-DOS text format..." unix_dos <$1 >TMP$$ rm -f $1 mv TMP$$ $1 shift done fi