1#!/bin/sh23update()4{5 for i6 do7 (echo '/^PATTERN/+;/^\./-c'8 ../../../bin/scc $CFLAGS -W -c $i 2>&19 printf ".\nw\n"10 echo w) |11 ed -s $i12 done13}1415update $@16update $@
A fork of https://git.simple-cc.org/scc/ for Qute
git clone https://git.8pit.net/scc.git
1#!/bin/sh23update()4{5 for i6 do7 (echo '/^PATTERN/+;/^\./-c'8 ../../../bin/scc $CFLAGS -W -c $i 2>&19 printf ".\nw\n"10 echo w) |11 ed -s $i12 done13}1415update $@16update $@