~ubuntu-branches/ubuntu/karmic/libxcb/karmic

« back to all changes in this revision

Viewing changes to tools/README

  • Committer: Bazaar Package Importer
  • Author(s): Jamey Sharp
  • Date: 2007-11-24 14:59:42 UTC
  • mto: (2.1.2 squeeze) (1.1.4 upstream)
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: james.westby@ubuntu.com-20071124145942-o35xehku11z1vu4u
Tags: upstream-1.1
ImportĀ upstreamĀ versionĀ 1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
api_conv.pl:
 
3
------------
 
4
 
 
5
 Description: used to convert old XCB names in camel case to lower
 
6
              case names.
 
7
 
 
8
 Usage:
 
9
 
 
10
  * for several files:
 
11
 
 
12
perl -i xcb/tools/api_conv.pl xcb/tools/constants <file1> <file2> ...
 
13
 
 
14
  * for a directory:
 
15
 
 
16
find dir -name '*.[ch]' -exec perl -i xcb/tools/api_conv.pl xcb/tools/constants {} +
 
17