summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>2006-09-24 08:51:20 +0200
committerTORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>2006-09-24 08:51:20 +0200
commit905379e4474c0137e5dd535798ae0afb07070df6 (patch)
treee6582aa8379ed6fe5c77892e383b1f46849cc517 /tools
parent16516a5e94205edffddde546abc833106c68068e (diff)
now, I know how to use api_conv.pl :)
Diffstat (limited to 'tools')
-rw-r--r--tools/README17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/README b/tools/README
new file mode 100644
index 0000000..2d1874e
--- /dev/null
+++ b/tools/README
@@ -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 {} +
+