From e514886f0d9dab86c4abc96110d062164814563e Mon Sep 17 00:00:00 2001 From: sin Date: Sun, 23 Nov 2014 12:55:56 +0000 Subject: [PATCH] Update pwd.1 --- pwd.1 | 49 +++++++++++++++++++++++++++++++------------------ 1 file changed, 31 insertions(+), 18 deletions(-) diff --git a/pwd.1 b/pwd.1 index a7c26ce..11aa7f8 100644 --- 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.