Update pwd.1

This commit is contained in:
sin 2014-11-23 12:55:56 +00:00
parent 5c9dc1b799
commit e514886f0d
1 changed files with 31 additions and 18 deletions

49
pwd.1
View File

@ -1,19 +1,32 @@
.TH PWD 1 sbase\-VERSION .Dd November 23, 2014
.SH NAME .Dt PWD 1 sbase\-VERSION
pwd \- print working directory .Os
.SH SYNOPSIS .Sh NAME
.B pwd .Nm pwd
.RB [ \-LP ] .Nd print working directory
.SH DESCRIPTION .Sh SYNOPSIS
.B pwd .Nm pwd
.Op Fl LP
.Sh DESCRIPTION
.Nm
prints the path of the current working directory. prints the path of the current working directory.
.SH OPTIONS .Sh OPTIONS
.TP .Bl -tag -width Ds
.B \-L .It Fl L
logical path, uses $PWD (default). Logical path, uses $PWD (default).
.TP .It Fl P
.B \-P Physical path, avoids all symlinks.
physical path, avoids all symlinks. .El
.SH SEE ALSO .Sh ENVIRONMENT
.IR cd (1), .Bl -tag -width PWD
.IR getcwd (3) .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.