1 2 3 4 5
#!/bin/sh sed -f makekeysyms.sed $1 > .makekeysms.tmp awk '{printf "#define %s %s\n", $1, $2}' .makekeysms.tmp rm .makekeysms.tmp