[matroska] r842 - trunk/libmatroska/make/linux

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: mosu
Date: 2004-09-26 14:20:16 +0400 (Sun, 26 Sep 2004)
New Revision: 842

Added:
   trunk/libmatroska/make/linux/check_ids
Log:
Added a small script that looks for duplicate EBML IDs in all of libmatroska's source files.

Added: trunk/libmatroska/make/linux/check_ids
===================================================================
--- trunk/libmatroska/make/linux/check_ids	2004-09-26 10:09:03 UTC (rev 841)
+++ trunk/libmatroska/make/linux/check_ids	2004-09-26 10:20:16 UTC (rev 842)
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# A small script that looks for duplicate EBML IDs in all of libmatroska's
+# source files.
+
+echo 'Duplicate IDs:'
+grep -h '^EbmlId.*_TheId' ../../src/*cpp | \
+  sed -e 's/TheId/TheId /' | \
+  awk '{ print $3 }' | \
+  sed -e 's/(//' -e 's/,//' | \
+  sort  | \
+  uniq -d


Property changes on: trunk/libmatroska/make/linux/check_ids
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.