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* $tmp1' EXIT
 6trap 'exit $?' HUP INT TERM
 7
 8tmp1=tmp1.$$
 9
10############################################################################
11#Update one member that already exist
12
13echo First > file1
14
15cp master.a file.a
16$EXEC scc ar -rv file.a file1
17
18$EXEC scc ar -p file.a file1 > $tmp1
19diff -u $tmp1 - <<EOF
20First
21EOF