0014-print.sh (389B)
1 #!/bin/sh 2 3 set -e 4 5 trap 'rm -f file.a $tmp1' EXIT 6 trap 'exit 1' HUP INT TERM 7 8 tmp1=tmp1.$$ 9 10 ############################################################################ 11 #print 3rd member 12 13 cp master.a file.a 14 15 $EXEC scc ar -p file.a file3 > $tmp1 16 diff -u $tmp1 - <<EOF 17 and at the end, this is the last file 18 that should go at the end of the file, 19 thus it should go in the third position. 20 EOF