kopia lustrzana https://github.com/nanosyzygy/ShuttlePRO
6 wiersze
93 B
Sed
6 wiersze
93 B
Sed
|
/^\#ifdef/p
|
||
|
/^\#endif/p
|
||
|
/^\#define/!d
|
||
|
s/^\#define //
|
||
|
s/^\([^[:space:]]*\).*$/{ "\1", \1 }, /
|