midizap/keys.sed

6 lines
93 B
Sed

/^\#ifdef/p
/^\#endif/p
/^\#define/!d
s/^\#define //
s/^\([^[:space:]]*\).*$/{ "\1", \1 }, /