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 all members
12
13cp master.a file.a
14
15$EXEC scc ar -t file.a file1 file2 file3 >$tmp1
16diff -u $tmp1 - <<EOF
17file1
18file2
19file3
20EOF