Improve the process for GNU tools
[minix3.git] / external / bsd / nvi / addrcsid
blob2115f1ac22a734c7c9f59076b8ad62fa062f0de0
1 #!/bin/sh
3 for i
4 do
5 sed -e '/^#ifndef lint/ {
6 i\
7 #include <sys/cdefs.h>\
8 #if 0
9 }' -e '/^#endif.*not\ lint.*/ {
11 #else\
12 __RCSID("$NetBSD: addrcsid,v 1.1 2014/01/26 21:46:49 christos Exp $");\
13 #endif
14 }' $i > tmp$$ && mv tmp$$ $i
15 done