if [ $# -eq 0 ]   
	then
		echo "Usage: eg05_out [-v] filenames..." 1>&2
		exit 1    
fi

if [ "$1" = "-v"  ]  #if first argument is -v
	then
		shift    #use shift builtin to shift argument
		less -- "$@"  #use less to display file
	else
		cat -- "$@"   #use cat to display file
fi
