0008-delete.sh (305B)
1 #!/bin/sh 2 3 4 set -e 5 6 trap "rm -f file.a" 0 2 3 15 7 8 ############################################################################ 9 #delete two members, 1st and 2nd 10 11 cp master.a file.a 12 13 scc-ar -dv file.a file1 file2 14 15 if scc-ar -tv file.a file1 file2 16 then 17 echo file-1 or file-2 were not deleted >&2 18 exit 1 19 fi