From 51421b2128ba93502dec3ccb19b01772ac7c2226 Mon Sep 17 00:00:00 2001 From: emma Date: Thu, 6 Jun 2024 00:14:55 -0600 Subject: [PATCH] dj.1, strcmp.1, swab.1: remove nonexistent roff macros --- docs/dj.1 | 44 ++++++++++++++++---------------------------- docs/strcmp.1 | 4 ++-- docs/swab.1 | 4 ++-- 3 files changed, 20 insertions(+), 32 deletions(-) diff --git a/docs/dj.1 b/docs/dj.1 index f5dbe18..f2570ae 100644 --- a/docs/dj.1 +++ b/docs/dj.1 @@ -18,30 +18,18 @@ dj .RB [ count ]) .RB ( -i -.R [ -.B input file -.R ]) +[\fBinput file\fP]) .RB ( -b -.R [ -.B input block size -.R ]) +[\fBinput block size\fP]) .RB ( -s -.R [ -.B input offset -.R ]) +[\fBinput offset\fP]) .RB ( -o -.R [ -.B output file -.R ]) +[\fBoutput file\fP]) .RB ( -B -.R [ -.B output block size -.R ]) +[\fBoutput block size\fP]) .RB ( -S -.R [ -.B output offset -.R ]) +[\fBoutput offset\fP]) .\" .SH DESCRIPTION @@ -118,10 +106,10 @@ By default, statistics are printed for input and output to the standard error in the following format: .RS -.R {records read} {ASCII unit separator} {partial records read} -.R {ASCII record separator} {records written} {ASCII unit separator} -.R {partial records written} {ASCII group separator} {bytes read} -.R {ASCII record separator} {bytes written} {ASCII file separator} +{records read} {ASCII unit separator} {partial records read} +{ASCII record separator} {records written} {ASCII unit separator} +{partial records written} {ASCII group separator} {bytes read} +{ASCII record separator} {bytes written} {ASCII file separator} .RE 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: .RS -.R {records read} '+' {partial records read} '>' {records written} -.R '+' {partial records written} ';' {bytes read} '>' {bytes written} -.R {ASCII line feed} +{records read} '+' {partial records read} '>' {records written} +'+' {partial records written} ';' {bytes read} '>' {bytes written} +{ASCII line feed} .RE If the @@ -144,9 +132,9 @@ was invoked. The following example is the result of running the program with as the only argument: .RS -.R argv0=dj -.R in= ibs=1024 skip=0 align=ff count=0 -.R out= obs=1024 seek=0 debug= 3 noerror=0 +argv0=dj +in= ibs=1024 skip=0 align=ff count=0 +out= obs=1024 seek=0 debug= 3 noerror=0 .RE In non-recoverable errors that don\(cqt pertain to the read-write cycle, a diff --git a/docs/strcmp.1 b/docs/strcmp.1 index 84b661d..46eccdf 100644 --- a/docs/strcmp.1 +++ b/docs/strcmp.1 @@ -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: .RS -.R strcmp b a +strcmp b a .RE and with an error code of 255 if it has a greater byte value than one of the prior strings: .RS -.R strcmp a b +strcmp a b .RE When invoked incorrectly, a debug message will be printed and the program will diff --git a/docs/swab.1 b/docs/swab.1 index 0ca19e8..526b057 100644 --- a/docs/swab.1 +++ b/docs/swab.1 @@ -38,13 +38,13 @@ The following line: .RS -.R printf 'hello world!\(rsn' | swab +printf 'hello world!\(rsn' | swab .RE Produces the following output: .RS -.R ehll oowlr!d +ehll oowlr!d .RE .\" .SH DIAGNOSTICS