gtk2/gdk/makecursors.awk
Owen Taylor c3fe09e069 gdk/makecursor* gdk/makekeysym* gdk/Makefile.am Removed old sed/awk code
* gdk/makecursor* gdk/makekeysym* gdk/Makefile.am
  Removed old sed/awk code and replaced it with a
  spiffier awk-only code from Art_Haas@dril-quip.com

                                        -owt
1997-12-13 00:58:24 +00:00

5 lines
95 B
Awk
Executable File

$1 == "#define" && NF >= 3 {
sub(/^XC/,"GDK",$2)
printf("%s = %s,\n",toupper($2),$3)
}