summaryrefslogtreecommitdiffstats
path: root/tools/build/scripts/search-id.sh
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-01-16 16:56:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-01-16 16:56:48 +0000
commit6f9c75c3222e99621dadd7c7d8499d76619a8a60 (patch)
treec8bc7a4f59c34f1e5667fb43d3203d4d00ea37c2 /tools/build/scripts/search-id.sh
parentJennifer found some uninitialized variables: (diff)
downloadrtems-6f9c75c3222e99621dadd7c7d8499d76619a8a60.tar.bz2
Ralf Corsepius reported a number of missing CVS Id's:
> RTEMS is under CVS control and has been since rtems 3.1.16 which was > around May 1995. So I just to add the $Id$. If you notice other files > with missing $Id$'s let me know. I try to keep w\up with it. Now that you have asked -- I'll attach a list of files lacking an RCS-Id to this mail. This list has been generated by a little sh-script I'll also enclose.
Diffstat (limited to 'tools/build/scripts/search-id.sh')
-rw-r--r--tools/build/scripts/search-id.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/build/scripts/search-id.sh b/tools/build/scripts/search-id.sh
new file mode 100644
index 0000000000..a94d2d7cc9
--- /dev/null
+++ b/tools/build/scripts/search-id.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+# $Id$
+#
+
+find $1 -type f -a ! -name "*.scn" -a ! -name "bsp_specs" -a \
+ -print > /tmp/$$.0
+find $1 -type f -a ! -name "*.scn" -a ! -name "bsp_specs" -a \
+ -exec grep -l '$Id' {} \; > /tmp/$$.1
+
+diff /tmp/$$.0 /tmp/$$.1 > /tmp/$$.2
+
+grep "<" /tmp/$$.2 | sed 's/< //' >&1
+
+rm -f /tmp/$$*