1
0
mirror of git://git.suckless.org/sbase synced 2024-12-22 15:04:53 +00:00
sbase/pwd.1
FRIGN 7cb966c170 Audit pwd(1)
Nothing special
1) Update manpage to current style.
2) Reorder functions
3) Logical trickery in getpwd()
2015-03-03 17:24:14 +01:00

33 lines
528 B
Groff

.Dd March 3, 2015
.Dt PWD 1
.Os sbase
.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. This is the 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.