1#!/bin/sh23set -e45trap 'rm -f file.a $tmp1' EXIT6trap 'exit $?' HUP INT TERM78tmp1=tmp1.$$910############################################################################11#print all members1213cp master.a file.a1415$EXEC scc ar -p file.a file1 file2 file3 >$tmp116diff $tmp1 - <<EOF17This is the first file,18and it should go in the19first position in the archive.20But this other one is the second one,21and it shouldn't go in the first position22because it should go in the second position.23and at the end, this is the last file24that should go at the end of the file,25thus it should go in the third position.26EOF