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