now, I know how to use api_conv.pl :)
authorTORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>
Sun, 24 Sep 2006 06:51:20 +0000 (08:51 +0200)
committerTORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>
Sun, 24 Sep 2006 06:51:20 +0000 (08:51 +0200)
tools/README [new file with mode: 0644]

diff --git a/tools/README b/tools/README
new file mode 100644 (file)
index 0000000..2d1874e
--- /dev/null
@@ -0,0 +1,17 @@
+
+api_conv.pl:
+------------
+
+ Description: used to convert old XCB names in camel case to lower
+              case names.
+
+ Usage:
+
+  * for several files:
+
+perl -i xcb/tools/api_conv.pl xcb/tools/constants <file1> <file2> ...
+
+  * for a directory:
+
+find dir -name '*.[ch]' -exec perl -i xcb/tools/api_conv.pl xcb/tools/constants {} +
+