add netbsd rcsids (does not handle the regex files well)

This commit is contained in:
christos 2014-01-26 21:46:49 +00:00
parent 2f698edb5c
commit 2689d3025f
1 changed files with 15 additions and 0 deletions

15
external/bsd/nvi/addrcsid vendored Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
for i
do
sed -e '/^#ifndef lint/ {
i\
#include <sys/cdefs.h>\
#if 0
}' -e '/^#endif.*not\ lint.*/ {
a\
#else\
__RCSID("$NetBSD: addrcsid,v 1.1 2014/01/26 21:46:49 christos Exp $");\
#endif
}' $i > tmp$$ && mv tmp$$ $i
done