]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Asciidoc: Review text-utils man pages
authorMario Blättermann <mario.blaettermann@gmail.com>
Thu, 25 Mar 2021 18:17:48 +0000 (19:17 +0100)
committerMario Blättermann <mario.blaettermann@gmail.com>
Thu, 25 Mar 2021 18:17:48 +0000 (19:17 +0100)
text-utils/col.1.adoc
text-utils/colcrt.1.adoc
text-utils/colrm.1.adoc
text-utils/column.1.adoc
text-utils/hexdump.1.adoc
text-utils/line.1.adoc
text-utils/more.1.adoc
text-utils/pg.1.adoc
text-utils/rev.1.adoc
text-utils/ul.1.adoc

index e58b0a7a4346e21cc75ec3be1b40bf02c1044513..4bf5cb15ecd6d43e48785e4741241443d22c5a98 100644 (file)
@@ -51,74 +51,68 @@ col - filter reverse line feeds from input
 
 *col* _options_
 
-[[description]]
 == DESCRIPTION
 
 *col* filters out reverse (and half-reverse) line feeds so the output is in the correct order, with only forward and half-forward line feeds. It also replaces any whitespace characters with tabs where possible. This can be useful in processing the output of *nroff*(1) and *tbl*(1).
 
 *col* reads from standard input and writes to standard output.
 
-[[options]]
 == OPTIONS
 
 *-b*, *--no-backspaces*::
-  Do not output any backspaces, printing only the last character written to each column position.
+Do not output any backspaces, printing only the last character written to each column position.
 
 *-f*, *--fine*::
-  Permit half-forward line feeds. Normally characters destined for a half-line boundary are printed on the following line.
+Permit half-forward line feeds. Normally characters destined for a half-line boundary are printed on the following line.
 
 *-h*, *--tabs*::
-  Output tabs instead of multiple spaces.
+Output tabs instead of multiple spaces.
 
 *-l*, *--lines* _number_::
-  Buffer at least _number_ lines in memory. By default, 128 lines are buffered.
+Buffer at least _number_ lines in memory. By default, 128 lines are buffered.
 
 *-p*, *--pass*::
-  Force unknown control sequences to be passed through unchanged. Normally *col* will filter out any control sequences other than those recognized and interpreted by itself, which are listed below.
+Force unknown control sequences to be passed through unchanged. Normally *col* will filter out any control sequences other than those recognized and interpreted by itself, which are listed below.
 
 *-x*, *--spaces*::
-  Output multiple spaces instead of tabs.
+Output multiple spaces instead of tabs.
 
 *-V*, *--version*::
-  Display version information and exit.
+Display version information and exit.
 
 *-H*, *--help*::
-  Display help text and exit.
+Display help text and exit.
 
-[[conforming_to]]
 == CONFORMING TO
 
 The *col* utility conforms to the Single UNIX Specification, Version 2. The *-l* option is an extension to the standard.
 
-[[notes]]
 == NOTES
 
 The control sequences for carriage motion that *col* understands and their decimal values are listed in the following table:
 
-____
 *ESC-7*::
-  reverse line feed (escape then 7)
+reverse line feed (escape then 7)
 *ESC-8*::
-  half reverse line feed (escape then 8)
+half reverse line feed (escape then 8)
 *ESC-9*::
-  half forward line feed (escape then 9)
+half forward line feed (escape then 9)
 *backspace*::
-  moves back one column (8); ignored in the first column
+moves back one column (8); ignored in the first column
 *newline*::
-  forward line feed (10); also does carriage return
+forward line feed (10); also does carriage return
 *carriage return*::
-  (13)
+(13)
 *shift in*::
-  shift to normal character set (15)
+shift to normal character set (15)
 *shift out*::
-  shift to alternate character set (14)
+shift to alternate character set (14)
 *space*::
-  moves forward one column (32)
+moves forward one column (32)
 *tab*::
-  moves forward to next tab stop (9)
+moves forward to next tab stop (9)
 *vertical tab*::
-  reverse line feed (11)
-____
+reverse line feed (11)
 
 All unrecognized control characters and escape sequences are discarded.
 
@@ -126,12 +120,10 @@ All unrecognized control characters and escape sequences are discarded.
 
 If the input attempts to back up to the last flushed line, *col* will display a warning message.
 
-[[history]]
 == HISTORY
 
 A *col* command appeared in Version 6 AT&T UNIX.
 
-[[see_also]]
 == SEE ALSO
 
 *expand*(1),
index 68aaeb6560426a9ff203237b85523c3f2409ac2d..497471ed146feb3e5e3ab8815bb7983a43e89bca 100644 (file)
@@ -39,6 +39,7 @@ SUCH DAMAGE.
 :man source: util-linux {release-version}
 :page-layout: base
 :command: colcrt
+:plus: +
 
 == NAME
 
@@ -46,7 +47,7 @@ colcrt - filter nroff output for CRT previewing
 
 == SYNOPSIS
 
-*colcrt* _options file_ ...
+*colcrt* [options] [_file_ ...]
 
 == DESCRIPTION
 
@@ -55,16 +56,16 @@ colcrt - filter nroff output for CRT previewing
 == OPTIONS
 
 *-*, *--no-underlining*::
-  Suppress all underlining. This option is especially useful for previewing _allboxed_ tables from *tbl*(1).
+Suppress all underlining. This option is especially useful for previewing _allboxed_ tables from *tbl*(1).
 
 *-2*, *--half-lines*::
-  Causes all half-lines to be printed, effectively double spacing the output. Normally, a minimal space output format is used which will suppress empty lines. The program never suppresses two consecutive empty lines, however. The *-2* option is useful for sending output to the line printer when the output contains superscripts and subscripts which would otherwise be invisible.
+Causes all half-lines to be printed, effectively double spacing the output. Normally, a minimal space output format is used which will suppress empty lines. The program never suppresses two consecutive empty lines, however. The *-2* option is useful for sending output to the line printer when the output contains superscripts and subscripts which would otherwise be invisible.
 
 *-V*, *--version*::
-  Display version information and exit.
+Display version information and exit.
 
 *-h*, *--help*::
-  Display help text and exit.
+Display help text and exit.
 
 == HISTORY
 
@@ -76,7 +77,8 @@ Should fold underlines onto blanks even with the *'-'* option so that a true und
 
 Can't back up more than 102 lines.
 
-General overstriking is lost; as a special case '|' overstruck with '-' or underline becomes '+'.
+//TRANSLATORS: Keep {plus} untranslated.
+General overstriking is lost; as a special case '|' overstruck with '-' or underline becomes '{plus}'.
 
 Lines are trimmed to 132 characters.
 
@@ -90,7 +92,7 @@ ____
 *tbl exum2.n | nroff -ms | colcrt - | more*
 ____
 
-[[see_also]]
+
 == SEE ALSO
 
 *col*(1),
index acf967bf6a3b2ddbef8792079593e96f7aea3cf0..90b6cd2110da9d9c35fa243b7576a40d3a813aa3 100644 (file)
@@ -59,16 +59,15 @@ Column numbering starts with column 1.
 == OPTIONS
 
 *-V*, *--version*::
-  Display version information and exit.
+Display version information and exit.
 
 *-h*, *--help*::
-  Display help text and exit.
+Display help text and exit.
 
 == HISTORY
 
 The *colrm* command appeared in 3.0BSD.
 
-[[see_also]]
 == SEE ALSO
 
 *awk*(1p),
index cc55f5e86b1e8319337d3e0a2c0d856c1d6c6d45..b8a907ba455d138b966316bb496d37b508d613d2 100644 (file)
@@ -46,20 +46,20 @@ column - columnate lists
 
 == SYNOPSIS
 
-*column* _options file_ ...
+*column* [options] [_file_ ...]
 
 == DESCRIPTION
 
 The *column* utility formats its input into multiple columns. The util support three modes:
 
 *columns are filled before rows*::
-  This is the default mode (required by backward compatibility).
+This is the default mode (required by backward compatibility).
 
 *rows are filled before columns*::
-  This mode is enabled by option *-x, --fillrows*
+This mode is enabled by option *-x, --fillrows*
 
 *table*::
-  Determine the number of columns the input contains and create a table. This mode is enabled by option *-t, --table* and columns formatting is possible to modify by *--table-** options. Use this mode if not sure.
+Determine the number of columns the input contains and create a table. This mode is enabled by option *-t, --table* and columns formatting is possible to modify by *--table-** options. Use this mode if not sure.
 
 Input is taken from _file_, or otherwise from standard input. Empty lines are ignored and all invalid multibyte sequences are encoded by x<hex> convention.
 
@@ -68,75 +68,75 @@ Input is taken from _file_, or otherwise from standard input. Empty lines are ig
 The argument _columns_ for *--table-** options is a comma separated list of the column names as defined by *--table-columns* or it's column number in order as specified by input. It's possible to mix names and numbers.
 
 *-J, --json*::
-  Use JSON output format to print the table, the option *--table-columns* is required and the option *--table-name* is recommended.
+Use JSON output format to print the table, the option *--table-columns* is required and the option *--table-name* is recommended.
 
 *-c, --output-width* _width_::
-  Output is formatted to a width specified as number of characters. The original name of this option is *--columns*; this name is deprecated since v2.30. Note that input longer than _width_ is not truncated by default.
+Output is formatted to a width specified as number of characters. The original name of this option is *--columns*; this name is deprecated since v2.30. Note that input longer than _width_ is not truncated by default.
 
 *-d, --table-noheadings*::
-  Do not print header. This option allows the use of logical column names on the command line, but keeps the header hidden when printing the table.
+Do not print header. This option allows the use of logical column names on the command line, but keeps the header hidden when printing the table.
 
 *-o, --output-separator* _string_::
-  Specify the columns delimiter for table output (default is two spaces).
+Specify the columns delimiter for table output (default is two spaces).
 
 *-s, --separator* _separators_::
-  Specify the possible input item delimiters (default is whitespace).
+Specify the possible input item delimiters (default is whitespace).
 
 *-t, --table*::
-  Determine the number of columns the input contains and create a table. Columns are delimited with whitespace, by default, or with the characters supplied using the *--output-separator* option. Table output is useful for pretty-printing.
+Determine the number of columns the input contains and create a table. Columns are delimited with whitespace, by default, or with the characters supplied using the *--output-separator* option. Table output is useful for pretty-printing.
 
 *-N, --table-columns* _names_::
-  Specify the columns names by comma separated list of names. The names are used for the table header or to address column in option arguments.
+Specify the columns names by comma separated list of names. The names are used for the table header or to address column in option arguments.
 
 *-l, --table-columns-limit* _number_::
-  Specify maximal number of the input columns. The last column will contain all remaining line data if the limit is smaller than the number of the columns in the input data.
+Specify maximal number of the input columns. The last column will contain all remaining line data if the limit is smaller than the number of the columns in the input data.
 
 *-R, --table-right* _columns_::
-  Right align text in the specified columns.
+Right align text in the specified columns.
 
 *-T, --table-truncate* _columns_::
-  Specify columns where text can be truncated when necessary, otherwise very long table entries may be printed on multiple lines.
+Specify columns where text can be truncated when necessary, otherwise very long table entries may be printed on multiple lines.
 
 *-E, --table-noextreme* _columns_::
-  Specify columns where is possible to ignore unusually long (longer than average) cells when calculate column width. The option has impact to the width calculation and table formatting, but the printed text is not affected. +
-  {nbsp} +
-  The option is used for the last visible column by default.
+Specify columns where is possible to ignore unusually long (longer than average) cells when calculate column width. The option has impact to the width calculation and table formatting, but the printed text is not affected.
++
+The option is used for the last visible column by default.
 
 *-e, --table-header-repeat*::
-  Print header line for each page.
+Print header line for each page.
 
 *-W, --table-wrap* _columns_::
-  Specify columns where is possible to use multi-line cell for long text when necessary.
+Specify columns where is possible to use multi-line cell for long text when necessary.
 
 *-H, --table-hide* _columns_::
-  Don't print specified columns. The special placeholder '-' may be used to hide all unnamed columns (see *--table-columns*).
+Don't print specified columns. The special placeholder '-' may be used to hide all unnamed columns (see *--table-columns*).
 
 *-O, --table-order* _columns_::
-  Specify columns order on output.
+Specify columns order on output.
 
 *-n, --table-name* _name_::
-  Specify the table name used for JSON output. The default is "table".
+Specify the table name used for JSON output. The default is "table".
 
 *-L, --keep-empty-lines*::
-  Preserve whitespace-only lines in the input. The default is ignore empty lines at all. This option’s original name was *--table-empty-lines* but is now deprecated because it gives the false impression that the option only applies to table mode.
+Preserve whitespace-only lines in the input. The default is ignore empty lines at all. This option’s original name was *--table-empty-lines* but is now deprecated because it gives the false impression that the option only applies to table mode.
 
 *-r, --tree* _column_::
-  Specify column to use tree-like output. Note that the circular dependencies and other anomalies in child and parent relation are silently ignored.
+Specify column to use tree-like output. Note that the circular dependencies and other anomalies in child and parent relation are silently ignored.
 
 *-i, --tree-id* _column_::
-  Specify column with line ID to create child-parent relation.
+Specify column with line ID to create child-parent relation.
 
 *-p, --tree-parent* _column_::
-  Specify column with parent ID to create child-parent relation.
+Specify column with parent ID to create child-parent relation.
 
 *-x, --fillrows*::
-  Fill rows before filling columns.
+Fill rows before filling columns.
 
 *-V*, *--version*::
-  Display version information and exit.
+Display version information and exit.
 
 *-h, --help*::
-  Display help text and exit.
+Display help text and exit.
 
 == ENVIRONMENT
 
@@ -195,7 +195,6 @@ echo -e '1 0 A\n2 1 AA\n3 1 AB\n4 2 AAA\n5 2 AAB' | column --tree-id 1 --tree-pa
 3  1  `-AB
 ....
 
-[[see_also]]
 == SEE ALSO
 
 *colrm*(1),
index 8820dba97a42dc835c9d7858253aed559b245ed1..9ff47d18afe9c8a1457152eb6edad67c54b412ec 100644 (file)
@@ -39,6 +39,8 @@ SUCH DAMAGE.
 :man source: util-linux {release-version}
 :page-layout: base
 :command: hexdump
+:plus: +
+:underscore: _
 
 == NAME
 
@@ -55,46 +57,47 @@ The *hexdump* utility is a filter which displays the specified files, or standar
 Below, the _length_ and _offset_ arguments may be followed by the multiplicative suffixes KiB (=1024), MiB (=1024*1024), and so on for GiB, TiB, PiB, EiB, ZiB and YiB (the "iB" is optional, e.g., "K" has the same meaning as "KiB"), or the suffixes KB (=1000), MB (=1000*1000), and so on for GB, TB, PB, EB, ZB and YB.
 
 *-b*, *--one-byte-octal*::
-  _One-byte octal display_. Display the input offset in hexadecimal, followed by sixteen space-separated, three-column, zero-filled bytes of input data, in octal, per line.
+_One-byte octal display_. Display the input offset in hexadecimal, followed by sixteen space-separated, three-column, zero-filled bytes of input data, in octal, per line.
 
 *-c*, *--one-byte-char*::
-  _One-byte character display_. Display the input offset in hexadecimal, followed by sixteen space-separated, three-column, space-filled characters of input data per line.
+_One-byte character display_. Display the input offset in hexadecimal, followed by sixteen space-separated, three-column, space-filled characters of input data per line.
 
 *-C*, *--canonical*::
-  _Canonical hex+ASCII display_. Display the input offset in hexadecimal, followed by sixteen space-separated, two-column, hexadecimal bytes, followed by the same sixteen bytes in *%_p* format enclosed in '*|*' characters. Invoking the program as *hd* implies this option.
+_Canonical hex{plus}ASCII display_. Display the input offset in hexadecimal, followed by sixteen space-separated, two-column, hexadecimal bytes, followed by the same sixteen bytes in *%{underscore}p* format enclosed in '*|*' characters. Invoking the program as *hd* implies this option.
+//TRANSLATORS: Keep {plus} and {underscore} untranslated.
 
 *-d*, *--two-bytes-decimal*::
-  _Two-byte decimal display_. Display the input offset in hexadecimal, followed by eight space-separated, five-column, zero-filled, two-byte units of input data, in unsigned decimal, per line.
+_Two-byte decimal display_. Display the input offset in hexadecimal, followed by eight space-separated, five-column, zero-filled, two-byte units of input data, in unsigned decimal, per line.
 
 *-e*, *--format* _format_string_::
-  Specify a format string to be used for displaying data.
+Specify a format string to be used for displaying data.
 
 *-f*, *--format-file* _file_::
-  Specify a file that contains one or more newline-separated format strings. Empty lines and lines whose first non-blank character is a hash mark (#) are ignored.
+Specify a file that contains one or more newline-separated format strings. Empty lines and lines whose first non-blank character is a hash mark (#) are ignored.
 
 *-L*, *--color*[=_when_]::
-  Accept color units for the output. The optional argument _when_ can be *auto*, *never* or *always*. If the _when_ argument is omitted, it defaults to *auto*. The colors can be disabled; for the current built-in default see the *--help* output. See also the *Colors* subsection and the *COLORS* section below.
+Accept color units for the output. The optional argument _when_ can be *auto*, *never* or *always*. If the _when_ argument is omitted, it defaults to *auto*. The colors can be disabled; for the current built-in default see the *--help* output. See also the *Colors* subsection and the *COLORS* section below.
 
 *-n*, *--length* _length_::
-  Interpret only _length_ bytes of input.
+Interpret only _length_ bytes of input.
 
 *-o*, *--two-bytes-octal*::
-  _Two-byte octal display_. Display the input offset in hexadecimal, followed by eight space-separated, six-column, zero-filled, two-byte quantities of input data, in octal, per line.
+_Two-byte octal display_. Display the input offset in hexadecimal, followed by eight space-separated, six-column, zero-filled, two-byte quantities of input data, in octal, per line.
 
 *-s*, *--skip* _offset_::
-  Skip _offset_ bytes from the beginning of the input.
+Skip _offset_ bytes from the beginning of the input.
 
 *-v*, *--no-squeezing*::
-  The *-v* option causes *hexdump* to display all input data. Without the *-v* option, any number of groups of output lines which would be identical to the immediately preceding group of output lines (except for the input offsets), are replaced with a line comprised of a single asterisk.
+The *-v* option causes *hexdump* to display all input data. Without the *-v* option, any number of groups of output lines which would be identical to the immediately preceding group of output lines (except for the input offsets), are replaced with a line comprised of a single asterisk.
 
 *-x*, *--two-bytes-hex*::
-  _Two-byte hexadecimal display_. Display the input offset in hexadecimal, followed by eight space-separated, four-column, zero-filled, two-byte quantities of input data, in hexadecimal, per line.
+_Two-byte hexadecimal display_. Display the input offset in hexadecimal, followed by eight space-separated, four-column, zero-filled, two-byte quantities of input data, in hexadecimal, per line.
 
 *-V*, *--version*::
-  Display version information and exit.
+Display version information and exit.
 
 *-h*, *--help*::
-  Display help text and exit.
+Display help text and exit.
 
 For each input file, *hexdump* sequentially copies the input to standard output, transforming the data according to the format strings specified by the *-e* and *-f* options, in the order that they were specified.
 
@@ -111,16 +114,16 @@ If an iteration count and/or a byte count is specified, a single slash must be p
 The format is required and must be surrounded by double quote (" ") marks. It is interpreted as a fprintf-style format string (see *fprintf*(3), with the following exceptions:
 
 1.::
-  An asterisk (*) may not be used as a field width or precision.
+An asterisk (*) may not be used as a field width or precision.
 
 2.::
-  A byte count or field precision _is_ required for each *s* conversion character (unlike the fprintf3 default which prints the entire string if the precision is unspecified).
+A byte count or field precision _is_ required for each *s* conversion character (unlike the fprintf3 default which prints the entire string if the precision is unspecified).
 
 3.::
-  The conversion characters *h*, *l*, *n*, *p*, and *q* are not supported.
+The conversion characters *h*, *l*, *n*, *p*, and *q* are not supported.
 
 4.::
-  The single character escape sequences described in the C standard are supported:
+The single character escape sequences described in the C standard are supported:
 
 ____
 |===
@@ -140,19 +143,19 @@ ____
 The *hexdump* utility also supports the following additional conversion strings.
 
 *_a[dox]*::
-  Display the input offset, cumulative across input files, of the next byte to be displayed. The appended characters *d*, *o*, and *x* specify the display base as decimal, octal or hexadecimal respectively.
+Display the input offset, cumulative across input files, of the next byte to be displayed. The appended characters *d*, *o*, and *x* specify the display base as decimal, octal or hexadecimal respectively.
 
 *_A[dox]*::
-  Identical to the *_a* conversion string except that it is only performed once, when all of the input data has been processed.
+Identical to the *_a* conversion string except that it is only performed once, when all of the input data has been processed.
 
 *_c*::
-  Output characters in the default character set. Non-printing characters are displayed in three-character, zero-padded octal, except for those representable by standard escape notation (see above), which are displayed as two-character strings.
+Output characters in the default character set. Non-printing characters are displayed in three-character, zero-padded octal, except for those representable by standard escape notation (see above), which are displayed as two-character strings.
 
 *_p*::
-  Output characters in the default character set. Non-printing characters are displayed as a single '*.*'.
+Output characters in the default character set. Non-printing characters are displayed as a single '*.*'.
 
 *_u*::
-  Output US ASCII characters, with the exception that control characters are displayed using the following, lower-case, names. Characters greater than 0xff, hexadecimal, are displayed as hexadecimal strings.
+Output US ASCII characters, with the exception that control characters are displayed using the following, lower-case, names. Characters greater than 0xff, hexadecimal, are displayed as hexadecimal strings.
 
 ____
 |===
@@ -176,29 +179,29 @@ The full syntax of a color unit is as follows:
 *[!]COLOR[:VALUE][@OFFSET_START[-END]]*
 
 *!*::
-  Negate the condition. Please note that it only makes sense to negate a unit if both a value/string and an offset are specified. In that case the respective output string will be highlighted if and only if the value/string does not match the one at the offset.
+Negate the condition. Please note that it only makes sense to negate a unit if both a value/string and an offset are specified. In that case the respective output string will be highlighted if and only if the value/string does not match the one at the offset.
 
 *COLOR*::
-  One of the 8 basic shell colors.
+One of the 8 basic shell colors.
 
 *VALUE*::
-  A value to be matched specified in hexadecimal, or octal base, or as a string. Please note that the usual C escape sequences are not interpreted by hexdump inside the color_units.
+A value to be matched specified in hexadecimal, or octal base, or as a string. Please note that the usual C escape sequences are not interpreted by hexdump inside the color_units.
 
 *OFFSET*::
-  An offset or an offset range at which to check for a match. Please note that lone OFFSET_START uses the same value as END offset.
+An offset or an offset range at which to check for a match. Please note that lone OFFSET_START uses the same value as END offset.
 
 === Counters
 
 The default and supported byte counts for the conversion characters are as follows:
 
 *%_c*, *%_p*, *%_u*, *%c*::
-  One byte counts only.
+One byte counts only.
 
 *%d*, *%i*, *%o*, *%u*, *%X*, *%x*::
-  Four byte default, one, two and four byte counts supported.
+Four byte default, one, two and four byte counts supported.
 
 *%E*, *%e*, *%f*, *%G*, *%g*::
-  Eight byte default, four byte counts supported.
+Eight byte default, four byte counts supported.
 
 The amount of data interpreted by each format string is the sum of the data required by each format unit, which is the iteration count times the byte count, or the iteration count times the number of bytes required by the format if the byte count is not specified.
 
@@ -210,7 +213,8 @@ It is an error to specify a byte count as well as multiple conversion characters
 
 If, as a result of the specification of the *-n* option or end-of-file being reached, input data only partially satisfies a format string, the input block is zero-padded sufficiently to display all available data (i.e., any format units overlapping the end of data will display some number of the zero bytes).
 
-Further output by such format strings is replaced by an equivalent number of spaces. An equivalent number of spaces is defined as the number of spaces output by an *s* conversion character with the same field width and precision as the original conversion character or conversion string but with any '*+*', ´ ´, '*#*' conversion flag characters removed, and referencing a NULL string.
+//TRANSLATORS: Keep {plus} untranslated.
+Further output by such format strings is replaced by an equivalent number of spaces. An equivalent number of spaces is defined as the number of spaces output by an *s* conversion character with the same field width and precision as the original conversion character or conversion string but with any '*{plus}*', ' ', '*#*' conversion flag characters removed, and referencing a NULL string.
 
 If no format strings are specified, the default display is very similar to the *-x* output format (the *-x* option causes more space to be used between format units than in the default output).
 
index 42915dc1984028a387d605044b4b7f78ce83488f..ed13001e2dfc7cad4fdba4fd587efcc58a2519e0 100644 (file)
@@ -19,7 +19,6 @@ line - read one line
 
 The utility *line* copies one line (up to a newline) from standard input to standard output. It always prints at least a newline and returns an exit status of 1 on EOF or read error.
 
-[[see_also]]
 == SEE ALSO
 
 *read*(1p)
index 132348b89128188aaac40738e3791889b7bf163d..2e3330de840dbbd5919b3ee6b6771fa93694a6cd 100644 (file)
@@ -49,7 +49,7 @@ more - file perusal filter for crt viewing
 
 == SYNOPSIS
 
-*more* _options file_ ...
+*more* [options] _file_ ...
 
 == DESCRIPTION
 
@@ -60,128 +60,126 @@ more - file perusal filter for crt viewing
 Options are also taken from the environment variable *MORE* (make sure to precede them with a dash (*-*)) but command-line options will override those.
 
 *-d*, *--silent*::
-  Prompt with "[Press space to continue, 'q' to quit.]", and display "[Press 'h' for instructions.]" instead of ringing the bell when an illegal key is pressed.
+Prompt with "[Press space to continue, 'q' to quit.]", and display "[Press 'h' for instructions.]" instead of ringing the bell when an illegal key is pressed.
 
 *-l*, *--logical*::
-  Do not pause after any line containing a *^L* (form feed).
+Do not pause after any line containing a *^L* (form feed).
 
 *-f*, *--no-pause*::
-  Count logical lines, rather than screen lines (i.e., long lines are not folded).
+Count logical lines, rather than screen lines (i.e., long lines are not folded).
 
 *-p*, *--print-over*::
-  Do not scroll. Instead, clear the whole screen and then display the text. Notice that this option is switched on automatically if the executable is named *page*.
+Do not scroll. Instead, clear the whole screen and then display the text. Notice that this option is switched on automatically if the executable is named *page*.
 
 *-c*, *--clean-print*::
-  Do not scroll. Instead, paint each screen from the top, clearing the remainder of each line as it is displayed.
+Do not scroll. Instead, paint each screen from the top, clearing the remainder of each line as it is displayed.
 
 *-s*, *--squeeze*::
-  Squeeze multiple blank lines into one.
+Squeeze multiple blank lines into one.
 
 *-u*, *--plain*::
-  Suppress underlining. This option is silently ignored as backwards compatibility.
+Suppress underlining. This option is silently ignored as backwards compatibility.
 
 *-n*, *--lines* _number_::
-  Specify the _number_ of lines per screenful. The _number_ argument is a positive decimal integer. The *--lines* option shall override any values obtained from any other source, such as number of lines reported by terminal.
+Specify the _number_ of lines per screenful. The _number_ argument is a positive decimal integer. The *--lines* option shall override any values obtained from any other source, such as number of lines reported by terminal.
 
 **-**__number__::
-  A numeric option means the same as *--lines* option argument.
+A numeric option means the same as *--lines* option argument.
 
 **+**__number__::
-  Start displaying each file at line _number_.
+Start displaying each file at line _number_.
 
-**+/**__string__::
-  The _string_ to be searched in each file before starting to display it.
+**+**/__string__::
+The _string_ to be searched in each file before starting to display it.
 
 *--help*::
-  Display help text and exit.
+Display help text and exit.
 
 *-V*, *--version*::
-  Display version information and exit.
+Display version information and exit.
 
 == COMMANDS
 
 Interactive commands for *more* are based on *vi*(1). Some commands may be preceded by a decimal number, called k in the descriptions below. In the following descriptions, *^X* means *control-X*.
 
-____
 *h* or *?*::
-  Help; display a summary of these commands. If you forget all other commands, remember this one.
+Help; display a summary of these commands. If you forget all other commands, remember this one.
 
 *SPACE*::
-  Display next k lines of text. Defaults to current screen size.
+Display next k lines of text. Defaults to current screen size.
 
 *z*::
-  Display next k lines of text. Defaults to current screen size. Argument becomes new default.
+Display next k lines of text. Defaults to current screen size. Argument becomes new default.
 
 *RETURN*::
-  Display next k lines of text. Defaults to 1. Argument becomes new default.
+Display next k lines of text. Defaults to 1. Argument becomes new default.
 
 *d* or *^D*::
-  Scroll k lines. Default is current scroll size, initially 11. Argument becomes new default.
+Scroll k lines. Default is current scroll size, initially 11. Argument becomes new default.
 
 *q* or *Q* or *INTERRUPT*::
-  Exit.
+Exit.
 
 *s*::
-  Skip forward k lines of text. Defaults to 1.
+Skip forward k lines of text. Defaults to 1.
 
 *f*::
-  Skip forward k screenfuls of text. Defaults to 1.
+Skip forward k screenfuls of text. Defaults to 1.
 
 *b* or *^B*::
-  Skip backwards k screenfuls of text. Defaults to 1. Only works with files, not pipes.
+Skip backwards k screenfuls of text. Defaults to 1. Only works with files, not pipes.
 
 *'*::
-  Go to the place where the last search started.
+Go to the place where the last search started.
 
 *=*::
-  Display current line number.
+Display current line number.
 
 */pattern*::
-  Search for kth occurrence of regular expression. Defaults to 1.
+Search for kth occurrence of regular expression. Defaults to 1.
 
 *n*::
-  Search for kth occurrence of last regular expression. Defaults to 1.
+Search for kth occurrence of last regular expression. Defaults to 1.
 
 *!command* or *:!command*::
-  Execute _command_ in a subshell.
+Execute _command_ in a subshell.
 
 *v*::
-  Start up an editor at current line. The editor is taken from the environment variable *VISUAL* if defined, or *EDITOR* if *VISUAL* is not defined, or defaults to *vi* if neither *VISUAL* nor *EDITOR* is defined.
+Start up an editor at current line. The editor is taken from the environment variable *VISUAL* if defined, or *EDITOR* if *VISUAL* is not defined, or defaults to *vi*(1) if neither *VISUAL* nor *EDITOR* is defined.
 
 *^L*::
-  Redraw screen.
+Redraw screen.
 
 *:n*::
-  Go to kth next file. Defaults to 1.
+Go to kth next file. Defaults to 1.
 
 *:p*::
-  Go to kth previous file. Defaults to 1.
+Go to kth previous file. Defaults to 1.
 
 *:f*::
-  Display current file name and line number.
+Display current file name and line number.
 
 *.*::
-  Repeat previous command.
-____
+Repeat previous command.
 
 == ENVIRONMENT
 
 The *more* command respects the following environment variables, if they exist:
 
 *MORE*::
-  This variable may be set with favored options to *more*.
+This variable may be set with favored options to *more*.
 
 *SHELL*::
-  Current shell in use (normally set by the shell at login time).
+Current shell in use (normally set by the shell at login time).
 
 *TERM*::
-  The terminal type used by *more* to get the terminal characteristics necessary to manipulate the screen.
+The terminal type used by *more* to get the terminal characteristics necessary to manipulate the screen.
 
 *VISUAL*::
-  The editor the user prefers. Invoked when command key _v_ is pressed.
+The editor the user prefers. Invoked when command key _v_ is pressed.
 
 *EDITOR*::
-  The editor of choice when *VISUAL* is not specified.
+The editor of choice when *VISUAL* is not specified.
 
 == HISTORY
 
index d2996b332eda89b57e9760e129e77ae8e257d79c..c31ae9c088dfa724e385a7d3432c9713554899e1 100644 (file)
@@ -28,93 +28,93 @@ If input comes from a pipe, *pg* stores the data in a buffer file while reading,
 *pg* accepts the following options:
 
 **+**__number__::
-  Start at the given line number.
+Start at the given line number.
 
 **+/**__pattern__*/*::
-  Start at the line containing the Basic Regular Expression _pattern_ given.
+Start at the line containing the Basic Regular Expression _pattern_ given.
 
 **-**__number__::
-  The number of lines per page. By default, this is the number of CRT lines minus one.
+The number of lines per page. By default, this is the number of CRT lines minus one.
 
 *-c*::
-  Clear the screen before a page is displayed, if the terminfo entry for the terminal provides this capability.
+Clear the screen before a page is displayed, if the terminfo entry for the terminal provides this capability.
 
 *-e*::
-  Do not pause and display _(EOF)_ at the end of a file.
+Do not pause and display _(EOF)_ at the end of a file.
 
 *-f*::
-  Do not split long lines.
+Do not split long lines.
 
 *-n*::
-  Without this option, commands must be terminated by a newline character. +
-  {nbsp} +
-  With this option, *pg* advances once a command letter is entered.
+Without this option, commands must be terminated by a newline character.
++
+With this option, *pg* advances once a command letter is entered.
 
 *-p* _string_::
-  Instead of the normal prompt _:_, _string_ is displayed. If _string_ contains *%d*, its first occurrence is replaced by the number of the current page.
+Instead of the normal prompt _:_, _string_ is displayed. If _string_ contains *%d*, its first occurrence is replaced by the number of the current page.
 
 *-r*::
-  Disallow the shell escape.
+Disallow the shell escape.
 
 *-s*::
-  Print messages in _standout_ mode, if the terminfo entry for the terminal provides this capability.
+Print messages in _standout_ mode, if the terminfo entry for the terminal provides this capability.
 
 *-V*, *--version*::
-  Display version information and exit.
+Display version information and exit.
 
 *-h*, *--help*::
-  Display help text and exit.
+Display help text and exit.
 
 == COMMANDS
 
 The following commands may be entered at the prompt. Commands preceded by _i_ in this document accept a number as argument, positive or negative. If this argument starts with *+* or *-*, it is interpreted relative to the current position in the input file, otherwise relative to the beginning.
 
 __i__**<Enter>**::
-  Display the next or the indicated page.
+Display the next or the indicated page.
 
 __i__**d** or *^D*::
-  Display the next halfpage. If _i_ is given, it is always interpreted relative to the current position.
+Display the next halfpage. If _i_ is given, it is always interpreted relative to the current position.
 
 __i__**l**::
-  Display the next or the indicated line.
+Display the next or the indicated line.
 
 __i__**f**::
-  Skip a page forward. _i_ must be a positive number and is always interpreted relative to the current position.
+Skip a page forward. _i_ must be a positive number and is always interpreted relative to the current position.
 
 __i__**w** or __i__**z**::
-  As *<Enter>* except that _i_ becomes the new page size.
+As *<Enter>* except that _i_ becomes the new page size.
 
 *.* or *^L*::
-  Redraw the screen.
+Redraw the screen.
 
 *$*::
-  Advance to the last line of the input file.
+Advance to the last line of the input file.
 
 __i__**/**__pattern__**/**::
-  Search forward until the first or the _i_-th occurrence of the Basic Regular Expression _pattern_ is found. The search starts after the current page and stops at the end of the file. No wrap-around is performed. _i_ must be a positive number.
+Search forward until the first or the _i_-th occurrence of the Basic Regular Expression _pattern_ is found. The search starts after the current page and stops at the end of the file. No wrap-around is performed. _i_ must be a positive number.
 
 __i__**?**__pattern__**?** or __i__**^**__pattern__**^**::
-  Search backward until the first or the _i_-th occurrence of the Basic Regular Expression _pattern_ is found. The search starts before the current page and stops at the beginning of the file. No wrap-around is performed. _i_ must be a positive number.
+Search backward until the first or the _i_-th occurrence of the Basic Regular Expression _pattern_ is found. The search starts before the current page and stops at the beginning of the file. No wrap-around is performed. _i_ must be a positive number.
 
 The search commands accept an added letter. If *t* is given, the line containing the pattern is displayed at the top of the screen, which is the default. *m* selects the middle and *b* the bottom of the screen. The selected position is used in following searches, too.
 
 __i__**n**::
-  Advance to the next file or _i_ files forward.
+Advance to the next file or _i_ files forward.
 
 __i__**p**::
-  Reread the previous file or _i_ files backward.
+Reread the previous file or _i_ files backward.
 
 *s* _filename_::
-  Save the current file to the given _filename_.
+Save the current file to the given _filename_.
 
 *h*::
-  Display a command summary.
+Display a command summary.
 
 **!**__command__::
-  Execute _command_ using the shell.
+Execute _command_ using the shell.
 
 *q* or *Q*::
-  Quit.
+Quit.
 
 If the user presses the interrupt or quit key while *pg* reads from the input file or writes on the terminal, *pg* will immediately display the prompt. In all other situations these keys will terminate *pg*.
 
@@ -123,19 +123,19 @@ If the user presses the interrupt or quit key while *pg* reads from the input fi
 The following environment variables affect the behavior of *pg*:
 
 *COLUMNS*::
-  Overrides the system-supplied number of columns if set.
+Overrides the system-supplied number of columns if set.
 
 *LANG*, *LC_ALL*, *LC_COLLATE*, *LC_CTYPE*, *LC_MESSAGES*::
-  See *locale*(7).
+See *locale*(7).
 
 *LINES*::
-  Overrides the system-supplied number of lines if set.
+Overrides the system-supplied number of lines if set.
 
 *SHELL*::
-  Used by the *!* command.
+Used by the *!* command.
 
 *TERM*::
-  Determines the terminal type.
+Determines the terminal type.
 
 == NOTES
 
@@ -143,7 +143,6 @@ The following environment variables affect the behavior of *pg*:
 
 Files that include NUL characters cannot be displayed by *pg*.
 
-[[see_also]]
 == SEE ALSO
 
 *cat*(1),
index af359c7a1254083b38a7ec14dde461e924c0e325..c812a21a62961411bd26738a8021d9903191c5f3 100644 (file)
@@ -46,7 +46,7 @@ rev - reverse lines characterwise
 
 == SYNOPSIS
 
-*rev* _option file_ ...
+*rev* [option] [_file_...]
 
 == DESCRIPTION
 
@@ -57,12 +57,11 @@ This utility is a line-oriented tool and it uses in-memory allocated buffer for
 == OPTIONS
 
 *-V*, *--version*::
-  Display version information and exit.
+Display version information and exit.
 
 *-h*, *--help*::
-  Display help text and exit.
+Display help text and exit.
 
-[[see_also]]
 == SEE ALSO
 
 *tac*(1)
index 995922c2b1c15fd36813c875e8277ee0acf81e59..80394bd3060553b80ba5a803cda339450c25304d 100644 (file)
@@ -46,7 +46,7 @@ ul - do underlining
 
 == SYNOPSIS
 
-*ul* _options file_ ...
+*ul* [options] [_file_...]
 
 == DESCRIPTION
 
@@ -55,23 +55,23 @@ ul - do underlining
 == OPTIONS
 
 *-i*, *--indicated*::
-  Underlining is indicated by a separate line containing appropriate dashes `-'; this is useful when you want to look at the underlining which is present in an *nroff* output stream on a crt-terminal.
+Underlining is indicated by a separate line containing appropriate dashes `-'; this is useful when you want to look at the underlining which is present in an *nroff* output stream on a crt-terminal.
 
 *-t*, *-T*, *--terminal* _terminal_::
-  Override the environment variable *TERM* with the specified _terminal_ type.
+Override the environment variable *TERM* with the specified _terminal_ type.
 
 *-V*, *--version*::
-  Display version information and exit.
+Display version information and exit.
 
 *-h*, *--help*::
-  Display help text and exit.
+Display help text and exit.
 
 == ENVIRONMENT
 
 The following environment variable is used:
 
 *TERM*::
-  The *TERM* variable is used to relate a tty device with its device capability description (see terminfo5). *TERM* is set at login time, either by the default terminal type specified in _/etc/ttys_ or as set during the login process by the user in their *login* file (see *setenv*(3)).
+The *TERM* variable is used to relate a tty device with its device capability description (see *terminfo*(5)). *TERM* is set at login time, either by the default terminal type specified in _/etc/ttys_ or as set during the login process by the user in their _login_ file (see *setenv*(3)).
 
 == HISTORY
 
@@ -81,7 +81,6 @@ The *ul* command appeared in 3.0BSD.
 
 *nroff* usually outputs a series of backspaces and underlines intermixed with the text to indicate underlining. No attempt is made to optimize the backward motion.
 
-[[see_also]]
 == SEE ALSO
 
 *colcrt*(1),