#!/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 MS-DOS to UNIX text format." echo echo "sd&m sb 94" echo else while [ "$1" ] do echo "Converting '$1' from MS-DOS to UNIX text format..." dos_unix <$1 >TMP$$ rm -f $1 mv TMP$$ $1 shift done fi