Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/find Various formatting changes:



details:   https://anonhg.NetBSD.org/src/rev/619e4c0d5b9f
branches:  trunk
changeset: 779923:619e4c0d5b9f
user:      jdf <jdf%NetBSD.org@localhost>
date:      Wed Jun 27 22:31:26 2012 +0000

description:
Various formatting changes:
 * Remove superfluous Pp macro (fixes mandoc(1) warning)
 * use Xr macro instead of Nm where appropriate
 * escape punctuation (so Ic actually 'sees' it) (fixed mandoc(1) warning)
 * remove redundant argument to successive Nm macros
 * remove double spaces

Patch supplied by Bug Hunting.

diffstat:

 usr.bin/find/find.1 |  19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)

diffs (78 lines):

diff -r 7e8b5067aa90 -r 619e4c0d5b9f usr.bin/find/find.1
--- a/usr.bin/find/find.1       Wed Jun 27 22:23:45 2012 +0000
+++ b/usr.bin/find/find.1       Wed Jun 27 22:31:26 2012 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: find.1,v 1.73 2012/06/20 17:55:06 wiz Exp $
+.\"    $NetBSD: find.1,v 1.74 2012/06/27 22:31:26 jdf Exp $
 .\"
 .\" Copyright (c) 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -65,7 +65,6 @@
 of each file in the tree.
 .Pp
 The options are as follows:
-.Pp
 .Bl -tag -width Ds
 .It Fl H
 The
@@ -154,7 +153,7 @@
 to be safely used in conjunction with
 .Xr xargs 1 .
 If a file name contains any of the delimiting characters used by
-.Nm xargs ,
+.Xr xargs 1 ,
 a diagnostic message is displayed on standard error, and the file
 is skipped.
 The delimiting characters include single
@@ -169,7 +168,7 @@
 or
 .Ic -printx
 primaries can be used to format the output in a way that
-.Nm xargs
+.Xr xargs 1
 can accept.
 .It Fl x
 The
@@ -490,7 +489,7 @@
 .Ar n
 24-hour periods.
 .Pp
-.It Ic -ok Ar utility Oo argument ... Oc Ic ;
+.It Ic -ok Ar utility Oo argument ... Oc Ic \&;
 The
 .Ic -ok
 primary is similar to the semicolon-terminated
@@ -618,9 +617,9 @@
 It prints the pathname of the current file to standard output,
 with each space, tab, newline, backslash, dollar sign, and single,
 double, or back quotation mark prefixed by a backslash, so the output of
-.Nm find
+.Nm
 can safely be used as input to
-.Nm xargs .
+.Xr xargs 1 .
 .Pp
 .It Ic -prune
 This primary always evaluates to true.
@@ -731,10 +730,10 @@
 .El
 .Pp
 All operands and primaries must be separate arguments to
-.Nm  .
+.Nm .
 Primaries which themselves take arguments expect each argument
 to be a separate argument to
-.Nm  .
+.Nm .
 .Sh EXIT STATUS
 The
 .Nm
@@ -897,7 +896,7 @@
 tree traversal options to be changed.
 .Sh HISTORY
 A much simpler
-.Nm find
+.Nm .
 command appeared in First Edition AT\*[Am]T Unix.
 The syntax had become similar to the present version by
 the time of the Fifth Edition.



Home | Main Index | Thread Index | Old Index