freebsd-nq/contrib/ntp/libparse/mkinfo_rcmd.sed
1999-12-09 13:01:21 +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, "", "" }\
};\