1#!/bin/sh23set -e45trap 'rm -f file* $tmp1' EXIT6trap 'exit $?' HUP INT TERM78tmp1=tmp1.$$910############################################################################11#Update one member that doesn't exist and using -b1213echo First > file-11415cp master.a file.a16$EXEC scc ar -rv -b file1 file.a file-11718$EXEC scc ar -p file.a file-1 > $tmp119diff -u $tmp1 - <<EOF20First21EOF2223$EXEC scc ar -t file.a > $tmp124diff -u $tmp1 - <<EOF25file-126file127file228file329EOF