#!/bin/csh -f # # myprog6 - script to backup a multiple files # with check that at least 1 parameter is given # if ($#argv < 1) then echo "Usage: $0 file [file ...]" else cp $argv ~/logback echo "copy(ies) of $argv made in backup directory" echo file count: $#argv endif