Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/nvi add netbsd rcsids (does not handle the rege...
details: https://anonhg.NetBSD.org/src/rev/14c9ce45df01
branches: trunk
changeset: 326360:14c9ce45df01
user: christos <christos%NetBSD.org@localhost>
date: Sun Jan 26 21:46:49 2014 +0000
description:
add netbsd rcsids (does not handle the regex files well)
diffstat:
external/bsd/nvi/addrcsid | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diffs (19 lines):
diff -r 37337f27e34e -r 14c9ce45df01 external/bsd/nvi/addrcsid
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/nvi/addrcsid Sun Jan 26 21:46:49 2014 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index