pe...@easthope.ca wrote: > Hi, > > Given this function. > > ev () { case $# in > 0) /usr/bin/evince --display=:0 ;; > 1) /usr/bin/evince --display=:0 $1 ;; > *) echo "Too many arguments." ;; esac } > > Can improvements be suggested?
"Too many arguments." doesn't seem quite right. If evince is given the name of more than one document, it will open them all.