Update pwd.1

This commit is contained in:
sin 2014-11-23 12:55:56 +00:00
parent 5c9dc1b799
commit e514886f0d

49
pwd.1
View File

@ -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.