[hackers] [sbase] readlink.1: convert to mandoc || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Tue, 24 Mar 2015 23:53:28 +0100 (CET)

commit f2eb5d3b2d65790769b1de36243b5885360c8a75
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Fri Jan 30 23:34:36 2015 +0100

    readlink.1: convert to mandoc

diff --git a/readlink.1 b/readlink.1
index 2a0476a..2dd3b8b 100644
--- a/readlink.1
+++ b/readlink.1
_AT_@ -1,25 +1,34 @@
-.TH READLINK 1 sbase\-VERSION
-.SH NAME
-readlink \- print value of a symbolic link or canonical file name
-.SH SYNOPSIS
-.B readlink
-.RB [ \-fn ]
-.IR file
-.SH DESCRIPTION
-The readlink utility when invoked with the pathname of a symbolic link as
-its argument dereferences the symbolic link and prints the name of target
-on standard output. If the -f option is not specified and readlink is
+.Dd January 30, 2015
+.Dt READLINK 1 sbase\-VERSION
+.Os
+.Sh NAME
+.Nm readlink
+.Nd print value of a symbolic link or canonical file name
+.Sh SYNOPSIS
+.Nm
+.Op Fl fn
+.Ar file
+.Sh DESCRIPTION
+The
+.Nm
+utility when invoked with the pathname of a symbolic link as
+its argument dereferences the symbolic link and prints the name of the target
+on standard output. If the
+.Fl f
+option is not specified and
+.Nm
+is
 invoked with an argument other than the pathname of a symbolic link, it
 exits with a nonzero exit code without printing anything.
-.SH OPTIONS
-.TP
-.B \-f
+.Sh OPTIONS
+.Bl -tag -width Ds
+.It Fl f
 Canonicalize by following every symlink in every component of the
 given path recursively. The argument does not need to be a symbolic
 link.
-.TP
-.B \-n
+.It Fl n
 Do not output the trailing newline.
-.SH SEE ALSO
-.IR readlink (2),
-.IR realpath (3)
+.El
+.Sh SEE ALSO
+.Xr readlink 2 ,
+.Xr realpath 3
Received on Tue Mar 24 2015 - 23:53:28 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 25 2015 - 00:05:34 CET