NetBSD/dist/ntp/libparse/mkinfo_rcmd.sed

9 lines
221 B
Sed
Raw Normal View History

2000-03-29 16:38:44 +04:00
1i\
\
cmd_info_t trimble_rcmds[] = {
s!^#define[ ][ ]*\(CMD_R[^ ]*\)[ ][ ]*\([^ ]*\)[ ][ ]*/\*[ ][ ]*\(.*\)[ ]*:\([^:]*\):\([^:]*\)[ ][ ]*\*/! { \1, "\1", "\3 (\2)", "\4", \5 },!p
$a\
{ 0xFF, "", "" }\
};\