scc

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

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

 1#!/bin/sh
 2
 3update()
 4{
 5	for i
 6	do
 7		(echo '/^PATTERN/+;/^\./-c'
 8		 ../../../bin/scc $CFLAGS -W -c $i 2>&1
 9		 printf ".\nw\n"
10		 echo w) |
11		ed -s $i
12	done
13}
14
15update $@
16update $@