midizap/keys.sed

6 lines
93 B
Sed
Raw Normal View History

2018-08-07 22:38:41 +02:00
/^\#ifdef/p
/^\#endif/p
/^\#define/!d
s/^\#define //
s/^\([^[:space:]]*\).*$/{ "\1", \1 }, /