dj.1, strcmp.1, swab.1: remove nonexistent roff macros
This commit is contained in:
parent
28823206bd
commit
51421b2128
44
docs/dj.1
44
docs/dj.1
@ -18,30 +18,18 @@ dj
|
|||||||
.RB [ count ])
|
.RB [ count ])
|
||||||
|
|
||||||
.RB ( -i
|
.RB ( -i
|
||||||
.R [
|
[\fBinput file\fP])
|
||||||
.B input file
|
|
||||||
.R ])
|
|
||||||
.RB ( -b
|
.RB ( -b
|
||||||
.R [
|
[\fBinput block size\fP])
|
||||||
.B input block size
|
|
||||||
.R ])
|
|
||||||
.RB ( -s
|
.RB ( -s
|
||||||
.R [
|
[\fBinput offset\fP])
|
||||||
.B input offset
|
|
||||||
.R ])
|
|
||||||
|
|
||||||
.RB ( -o
|
.RB ( -o
|
||||||
.R [
|
[\fBoutput file\fP])
|
||||||
.B output file
|
|
||||||
.R ])
|
|
||||||
.RB ( -B
|
.RB ( -B
|
||||||
.R [
|
[\fBoutput block size\fP])
|
||||||
.B output block size
|
|
||||||
.R ])
|
|
||||||
.RB ( -S
|
.RB ( -S
|
||||||
.R [
|
[\fBoutput offset\fP])
|
||||||
.B output offset
|
|
||||||
.R ])
|
|
||||||
.\"
|
.\"
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
||||||
@ -118,10 +106,10 @@ By default, statistics are printed for input and output to the standard error in
|
|||||||
the following format:
|
the following format:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
.R {records read} {ASCII unit separator} {partial records read}
|
{records read} {ASCII unit separator} {partial records read}
|
||||||
.R {ASCII record separator} {records written} {ASCII unit separator}
|
{ASCII record separator} {records written} {ASCII unit separator}
|
||||||
.R {partial records written} {ASCII group separator} {bytes read}
|
{partial records written} {ASCII group separator} {bytes read}
|
||||||
.R {ASCII record separator} {bytes written} {ASCII file separator}
|
{ASCII record separator} {bytes written} {ASCII file separator}
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
This format for diagnostic output is designed to be machine-parseable for
|
This format for diagnostic output is designed to be machine-parseable for
|
||||||
@ -130,9 +118,9 @@ convenience. For a more human-readable format, the
|
|||||||
option may be specified. In this event, the following format is used instead:
|
option may be specified. In this event, the following format is used instead:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
.R {records read} '+' {partial records read} '>' {records written}
|
{records read} '+' {partial records read} '>' {records written}
|
||||||
.R '+' {partial records written} ';' {bytes read} '>' {bytes written}
|
'+' {partial records written} ';' {bytes read} '>' {bytes written}
|
||||||
.R {ASCII line feed}
|
{ASCII line feed}
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
If the
|
If the
|
||||||
@ -144,9 +132,9 @@ was invoked. The following example is the result of running the program with
|
|||||||
as the only argument:
|
as the only argument:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
.R argv0=dj
|
argv0=dj
|
||||||
.R in=<stdin> ibs=1024 skip=0 align=ff count=0
|
in=<stdin> ibs=1024 skip=0 align=ff count=0
|
||||||
.R out=<stdout> obs=1024 seek=0 debug= 3 noerror=0
|
out=<stdout> obs=1024 seek=0 debug= 3 noerror=0
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
In non-recoverable errors that don\(cqt pertain to the read-write cycle, a
|
In non-recoverable errors that don\(cqt pertain to the read-write cycle, a
|
||||||
|
@ -25,14 +25,14 @@ will exit with an error code of 1 if a string passed has a lesser byte value
|
|||||||
than one of the prior strings:
|
than one of the prior strings:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
.R strcmp b a
|
strcmp b a
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
and with an error code of 255 if it has a greater byte value than one of the
|
and with an error code of 255 if it has a greater byte value than one of the
|
||||||
prior strings:
|
prior strings:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
.R strcmp a b
|
strcmp a b
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
When invoked incorrectly, a debug message will be printed and the program will
|
When invoked incorrectly, a debug message will be printed and the program will
|
||||||
|
@ -38,13 +38,13 @@ The following
|
|||||||
line:
|
line:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
.R printf 'hello world!\(rsn' | swab
|
printf 'hello world!\(rsn' | swab
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
Produces the following output:
|
Produces the following output:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
.R ehll oowlr!d
|
ehll oowlr!d
|
||||||
.RE
|
.RE
|
||||||
.\"
|
.\"
|
||||||
.SH DIAGNOSTICS
|
.SH DIAGNOSTICS
|
||||||
|
Loading…
Reference in New Issue
Block a user