summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/libparse/mkinfo_rcmd.sed
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/libparse/mkinfo_rcmd.sed')
-rw-r--r--contrib/ntp/libparse/mkinfo_rcmd.sed8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/ntp/libparse/mkinfo_rcmd.sed b/contrib/ntp/libparse/mkinfo_rcmd.sed
new file mode 100644
index 0000000..570c7a0
--- /dev/null
+++ b/contrib/ntp/libparse/mkinfo_rcmd.sed
@@ -0,0 +1,8 @@
+1i\
+\
+cmd_info_t trimble_rcmds[] = {
+s!^#define[ ][ ]*\(CMD_R[^ ]*\)[ ][ ]*\([^ ]*\)[ ][ ]*/\*[ ][ ]*\(.*\)[ ]*:\([^:]*\):\([^:]*\)[ ][ ]*\*/! { \1, "\1", "\3 (\2)", "\4", \5 },!p
+$a\
+ { 0xFF, "", "" }\
+};\
+
OpenPOWER on IntegriCloud