Codebase list libmawk / debian/1.0.2-2 tools / proto.sh
debian/1.0.2-2

Tree @debian/1.0.2-2 (Download .tar.gz)

proto.sh @debian/1.0.2-2raw · history · blame

1
2
3
4
5
6
#!/bin/sh
for n in *.h *.c
do
	sed "/PROTO(/ { s/PROTO(//; s/[,][ 	]*[(]/(/; s/);[ 	]*$/;/; }" < $n > $n.tmp
	mv $n.tmp $n
done