aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/doc
diff options
context:
space:
mode:
authorDavid M. Syzdek <syzdek@bindlebinaries.com>2013-12-03 12:06:01 -0900
committerDavid M. Syzdek <syzdek@bindlebinaries.com>2013-12-03 12:06:01 -0900
commitb0cd8d1b699bfb6bc3e2cd626b23f84cc6498a13 (patch)
tree153479b713fcbb7e4feeec790c4ff932fed3fec8 /doc
parent79e51fca6e18699479aedc540d35363656d900ce (diff)
downloaddmstools-b0cd8d1b699bfb6bc3e2cd626b23f84cc6498a13.tar.gz
dmstools-b0cd8d1b699bfb6bc3e2cd626b23f84cc6498a13.tar.bz2
dmstools-b0cd8d1b699bfb6bc3e2cd626b23f84cc6498a13.tar.xz
dmstools-b0cd8d1b699bfb6bc3e2cd626b23f84cc6498a13.zip
Adding man page for macaddrutil.1
Diffstat (limited to 'doc')
-rw-r--r--doc/macaddrutil.1.in80
1 files changed, 58 insertions, 22 deletions
diff --git a/doc/macaddrutil.1.in b/doc/macaddrutil.1.in
index 43debc4..97ae8d4 100644
--- a/doc/macaddrutil.1.in
+++ b/doc/macaddrutil.1.in
@@ -1,6 +1,6 @@
1.\" 1.\"
2.\" DMS Tools and Utilities 2.\" DMS Tools and Utilities
3.\" Copyright (C) 2010 David M. Syzdek <david@syzdek.net> 3.\" Copyright (C) 2013 David M. Syzdek <david@syzdek.net>
4.\" 4.\"
5.\" @SYZDEK_COPYRIGHT_HEADER_START@ 5.\" @SYZDEK_COPYRIGHT_HEADER_START@
6.\" 6.\"
@@ -31,51 +31,87 @@
31.\" 31.\"
32.\" @SYZDEK_COPYRIGHT_HEADER_END@ 32.\" @SYZDEK_COPYRIGHT_HEADER_END@
33.\" 33.\"
34.\" doc/posixregex.1.in - man page for posixregex 34.\" doc/macaddrutil.1.in - man page for macaddrutil
35.\" 35.\"
36.TH "POSIXREGEX" "1" "@RELEASE_MONTH@" "@PACKAGE_TARNAME@ @PACKAGE_VERSION@" "User Commands" 36.TH "MACADDRUTIL" "1" "@RELEASE_MONTH@" "@PACKAGE_TARNAME@ @PACKAGE_VERSION@" "User Commands"
37.SH NAME 37.SH NAME
38posixregex \- displays the result of two values after performing bitwise operations 38macaddrutil \- Provides miscellaneous utilities for managing MAC addresses.
39.SH SYNOPSIS 39.SH SYNOPSIS
40\fBposixregex\fR [-r \fIregex\fR] \fIstring1 string2 ... stringN\fR 40\fBmacaddrutil\fR [\fB-v\fR] [\fB-q\fR] [\fB-c\fR|\fB-D\fR|\fB-d\fR|\fB-R\fR] [\fB-l\fR|\fB-u\fR] format \fIaddress\fR
41.sp 41.sp
42\fBposixregex\fR [\fB--help\fR | \fB-h\fR] [\fB--posixregex\fR | \fB-p\fR] [\fB--version\fR | \fB-V\fR] 42\fBmacaddrutil\fR [\fB-v\fR] [\fB-q\fR] [\fB-c\fR|\fB-D\fR|\fB-d\fR|\fB-R\fR] [\fB-l\fR|\fB-u\fR] generate [\fB--xen\fR|\fB--vmware\fR] [\fB-r\fR \fIrandomdev\fR]
43.sp
44\fBmacaddrutil\fR [\fB-v\fR] [\fB-q\fR] [\fB-c\fR|\fB-D\fR|\fB-d\fR|\fB-R\fR] [\fB-l\fR|\fB-u\fR] info \fIaddress\fR
45.sp
46\fBmacaddrutil\fR [\fB--help\fR|\fB-h\fR] [\fB--version\fR|\fB-V\fR]
43 47
44.SH DESCRIPTION 48.SH DESCRIPTION
45The \fBposixregex\fR utility tests a regular expression against the specified 49The \fBmacaddrutil\fR utility provides miscellaneous utilities for managing
46strings and displays the matched segments of the strings. 50MAC addresses.
51
52.SH COMMANDS
53.TP
54\fBformat\fR
55Reformats the notation style of a MAC address.
56.TP
57\fBgenerate\fR
58Generates random MAC address.
59.TP
60\fBinformation\fR
61Displays derived information about a MAC address.
47 62
48.SH OPTIONS 63.SH OPTIONS
49.TP 64.TP
65\fB\-c\fR, \fB--colon\fR
66Displays MAC addresses using colon notation (\fIxx:xx:xx:xx:xx:xx\fR).
67.TP
68\fB\-D\fR, \fB--dot\fR
69Displays MAC addresses using dot notation (\fIxxxx.xxxx.xxxx\fR).
70.TP
71\fB\-d\fR, \fB--dash\fR
72Displays MAC addresses using dash notation (\fIxx-xx-xx-xx-xx-xx\fR).
73.TP
50\fB\-h\fR, \fB--help\fR 74\fB\-h\fR, \fB--help\fR
51Displays usage information and exits. 75Displays usage information and exits.
52.TP 76.TP
53\fB\-p\fR, \fB--posixregex\fR 77\fB\-l\fR, \fB--lower\fR
54Print regular expression special patterns. 78Displays MAC addresses using lower case hexadecimal digits.
55.TP 79.TP
56\fB\-q\fR, \fB--quiet\fR, \fB--silent\fR 80\fB\-q\fR, \fB--quiet\fR, \fB--silent\fR
57displays verbose messages. 81do not print messages.
82.TP
83\fB\-R\fR, \fB--raw\fR
84Displays MAC addresses using dash notation (\fIxxxxxxxxxxxx\fR).
85.TP
86\fB\-r\fR \fIrandomdev\fR
87Read random data for generate MAC addresses from \fIrandomdev\fR. The default
88is to use \fI/dev/random\fR.
58.TP 89.TP
59\fB\-r\fR 90\fB\-u\fR, \fB--upper\fR
60regular expression to use for testing strings 91Displays MAC addresses using upper case hexadecimal digits.
61.TP 92.TP
62\fB\-V\fR, \fB--version\fR 93\fB\-V\fR, \fB--version\fR
63displays version number and exits. 94displays version number and exits.
64.TP 95.TP
65\fB\-v\fR, \fB--verbose\fR 96\fB\-v\fR, \fB--verbose\fR
66do not print messages. 97displays verbose messages.
98.TP
99\fB--xen\fR
100generate MAC addresses using the OUI assigned to the Xen project.
101.TP
102\fB--vmware\fR
103generate MAC addresses using the OUI assigned to VMWare.
67 104
68.SH "ENVIRONMENT VARIABLES" 105.SH "TERMS"
69.TP 106.TP
70\fBPOSIXREGEX\fR 107\fBOUI\fR
71default regular expression to use for testing strings 108organizationally unique identifier
109.TP
110\fBMAC address\fR
111media access control address
72 112
73.SH "DIAGNOSTICS" 113.SH "DIAGNOSTICS"
74Normally, exit status is 0 if the strings match the regular expression and 114Normally, exit status is 0 and 1 if an error occurs.
751 otherwise.
76
77.SH "REPORTING BUGS"
78Report bugs to David M. Syzdek <@PACKAGE_BUGREPORT@>.
79 115
80.SH "SEE ALSO" 116.SH "SEE ALSO"
81.BR bindump (1), 117.BR bindump (1),