commit e514886f0d9dab86c4abc96110d062164814563e
parent 5c9dc1b799b0a609057b33c232bc40c44fe570aa
Author: sin <sin@2f30.org>
Date: Sun, 23 Nov 2014 12:55:56 +0000
Update pwd.1
Diffstat:
M | pwd.1 | | | 49 | +++++++++++++++++++++++++++++++------------------ |
1 file changed, 31 insertions(+), 18 deletions(-)
diff --git a/pwd.1 b/pwd.1
@@ -1,19 +1,32 @@
-.TH PWD 1 sbase\-VERSION
-.SH NAME
-pwd \- print working directory
-.SH SYNOPSIS
-.B pwd
-.RB [ \-LP ]
-.SH DESCRIPTION
-.B pwd
+.Dd November 23, 2014
+.Dt PWD 1 sbase\-VERSION
+.Os
+.Sh NAME
+.Nm pwd
+.Nd print working directory
+.Sh SYNOPSIS
+.Nm pwd
+.Op Fl LP
+.Sh DESCRIPTION
+.Nm
prints the path of the current working directory.
-.SH OPTIONS
-.TP
-.B \-L
-logical path, uses $PWD (default).
-.TP
-.B \-P
-physical path, avoids all symlinks.
-.SH SEE ALSO
-.IR cd (1),
-.IR getcwd (3)
+.Sh OPTIONS
+.Bl -tag -width Ds
+.It Fl L
+Logical path, uses $PWD (default).
+.It Fl P
+Physical path, avoids all symlinks.
+.El
+.Sh ENVIRONMENT
+.Bl -tag -width PWD
+.It Ev PWD
+The logical path to the current working directory.
+.El
+.Sh SEE ALSO
+.Xr getcwd 3
+.Sh STANDARDS
+The
+.Nm
+utility is compliant with the
+.St -p1003.1-2008
+specification.