0001 UD(8)
0002 =====
0003 :doctype: manpage
0004
0005
0006 NAME
0007 ----
0008 ud - UBF Dump.
0009
0010
0011 SYNOPSIS
0012 --------
0013 *ud*
0014
0015
0016 DESCRIPTION
0017 -----------
0018 This is command line utility used for sending UBF buffer to service specified
0019 in field 'SRVCNM' in buffer. Buffer is read from 'stdin'. The result is
0020 printed back to 'stdout'.
0021
0022 For example service call could look like:
0023 --------------------------------------------------------------------------------
0024 $ ud < unix.ud 2>/dev/null
0025 SENT pkt(1) is :
0026 SRVCNM UNIXINFO
0027
0028 RTN pkt(1) is :
0029 SRVCNM UNIXINFO
0030 T_STRING_FLD Linux znaroks 2.6.23-gentoo-r6 #9...
0031 T_STRING_FLD 13:55:10 up 749 days, 19:46, 0...
0032 T_STRING_FLD Linux mailsrv 2.6.21-xen #2 SMP...
0033 T_STRING_FLD 13:55:11 up 97 days, 22:34, 0...
0034 --------------------------------------------------------------------------------
0035
0036 Where 'unix.ud' file consists of following lines:
0037
0038 --------------------------------------------------------------------------------
0039 SRVCNM UNIXINFO
0040 --------------------------------------------------------------------------------
0041
0042 In this case only one field is present (which is service name to be called).
0043 But file might contain as many as needed fields.
0044
0045 Fields must be separated by tab character (i.e. field name and value).
0046 Extended syntax for 'ud' buffers are supported, like lines starting with:
0047
0048 * + Means change fields value
0049 * - Delete field
0050 * = Copy value from other field.
0051 * # Comment
0052
0053 Manipulation with *+*, *-*, *=* to fielded buffer affects only occurrence 0
0054 of the target field.
0055
0056
0057 EXIT STATUS
0058 -----------
0059 *0*::
0060 Success
0061
0062 *1*::
0063 Failure
0064
0065 BUGS
0066 ----
0067 Report bugs to support@mavimax.com
0068
0069 SEE ALSO
0070 --------
0071 *ndrxd(8)*, *ex_overview(guides)*
0072
0073 COPYING
0074 -------
0075 (C) Mavimax, Ltd