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

17 lines
314 B
Sed

1i\
/*\
* Automatically generated - do not modify\
*/\
\
#include "ntp_types.h"\
#include "ntpd.h"\
#include "trimble.h"\
\
cmd_info_t trimble_scmds[] = {
s!^#define[ ][ ]*\(CMD_C[^ ]*\)[ ][ ]*\([^ ]*\)[ ][ ]*/\*[ ][ ]*\(.*\)[ ][ ]*\*/! { \1, "\1", "\3 (\2)", "", 0 },!p
$a\
{ 0xFF, "", "" }\
};\