scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1#!/bin/sh
 2
 3set -e
 4
 5trap 'rm -f file.a $tmp1' EXIT
 6trap 'exit $?' HUP INT TERM
 7
 8tmp1=tmp1.$$
 9
10############################################################################
11#print 1st member
12
13cp master.a file.a
14
15$EXEC scc ar -p file.a file1 > $tmp1
16diff $tmp1 - <<EOF
17This is the first file,
18and it should go in the
19first position in the archive.
20EOF