NetBSD/dist/ntp/libparse/mkinfo_rcmd.sed
2000-03-29 12:38:44 +00:00

9 lines
221 B
Sed

1i\
\
cmd_info_t trimble_rcmds[] = {
s!^#define[ ][ ]*\(CMD_R[^ ]*\)[ ][ ]*\([^ ]*\)[ ][ ]*/\*[ ][ ]*\(.*\)[ ]*:\([^:]*\):\([^:]*\)[ ][ ]*\*/! { \1, "\1", "\3 (\2)", "\4", \5 },!p
$a\
{ 0xFF, "", "" }\
};\