gtk/gdk/makekeysyms.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

6 lines
96 B
Awk
Executable File

$1 == "#define" && NF >= 3 {
sub(/^XK/,"GDK",$2)
sub(/0X/,"0x",$3)
print $1,$2,$3
}