freebsd-dev/contrib/ntp/libparse/mkinfo_rcmd.sed

9 lines
221 B
Sed
Raw Normal View History

1999-12-09 13:01:21 +00:00
1i\
\
cmd_info_t trimble_rcmds[] = {
s!^#define[ ][ ]*\(CMD_R[^ ]*\)[ ][ ]*\([^ ]*\)[ ][ ]*/\*[ ][ ]*\(.*\)[ ]*:\([^:]*\):\([^:]*\)[ ][ ]*\*/! { \1, "\1", "\3 (\2)", "\4", \5 },!p
$a\
{ 0xFF, "", "" }\
};\