summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-06-22 23:10:57 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-06-22 23:10:57 +0000
commit021b21445ca5d52349dfec1dd12945aa402a21e7 (patch)
tree94c5e73a229128cf0936e47985a1bad4eb159c39 /usr.bin
parent001d5b95797e80fa859c40032244c2dc8a67de6f (diff)
Convert the find(1) examples to mandoc.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/lndir/lndir.132
1 files changed, 17 insertions, 15 deletions
diff --git a/usr.bin/lndir/lndir.1 b/usr.bin/lndir/lndir.1
index 88644c4f2b3..e648e297a5b 100644
--- a/usr.bin/lndir/lndir.1
+++ b/usr.bin/lndir/lndir.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: lndir.1,v 1.3 1997/06/22 23:04:41 downsj Exp $
+.\" $OpenBSD: lndir.1,v 1.4 1997/06/22 23:10:56 downsj Exp $
.\"
.\" Copyright (c) 1997, Jason Downs. All rights reserved.
.\"
@@ -166,23 +166,25 @@ If the link already exists but doesn't point to the correct file, the
program prints the link name and the location where it does point.
.Sh BUGS
The
-.Nm patch
+.Xr patch 1
program gets upset if it cannot change the files. You should never run
-.Nm patch
+.Xr patch 1
from a shadow directory anyway.
-.\".Pp
-.\" You need to use something like
-.\" .nf
-.\" find todir \|\-type l \|\-print \||\| xargs rm
-.\" .fi
-.\" to clear out all files before you can relink (if fromdir moved, for instance).
-.\" Something like
-.\" .nf
-.\" find . \|\\! \|\-type d \|\-print
-.\" .fi
-.\" will find all files that are not directories.
+.Pp
+You need to use something like
+.Bd -unfilled -offset indent
+find todir \|\-type l \|\-print \||\| xargs rm
+.Ed
+to clear out all files before you can relink (if fromdir moved, for instance).
+Something like
+.Bd -unfilled -offset indent
+find . \|\\! \|\-type d \|\-print
+.Ed
+will find all files that are not directories.
.Sh SEE ALSO
-.Xr patch 1
+.Xr find 1 ,
+.Xr ln 1 ,
+.Xr patch 1 .
.Sh HISTORY
.Nm lndir
was first distributed as part of X11.