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#and now, test without parameters
12
13cp master.a file.a
14$EXEC scc ar -mv file.a
15$EXEC scc ar -t file.a > $tmp1
16
17diff -u $tmp1 - <<EOF
18file1
19file2
20file3
21EOF