sbase/pwd.1
Hiltjo Posthuma 57a19e3b86 add some mandoc pages and fix some warnings
- add .Os, it is mandatory.
- don't redeclare .Nm when it's not needed.
- fix some warnings (checked with mandoc -Tlint).
- remove some leftover old stuff.
2015-01-30 21:21:50 +01:00

33 lines
530 B
Groff

.Dd November 23, 2014
.Dt PWD 1 sbase\-VERSION
.Os
.Sh NAME
.Nm pwd
.Nd print working directory
.Sh SYNOPSIS
.Nm
.Op Fl LP
.Sh DESCRIPTION
.Nm
prints the path of the current working directory.
.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.