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