diff options
Diffstat (limited to 'util/sbase/pwd.1')
-rw-r--r-- | util/sbase/pwd.1 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/util/sbase/pwd.1 b/util/sbase/pwd.1 new file mode 100644 index 00000000..71b9d2a8 --- /dev/null +++ b/util/sbase/pwd.1 @@ -0,0 +1,29 @@ +.Dd October 8, 2015 +.Dt PWD 1 +.Os sbase +.Sh NAME +.Nm pwd +.Nd print working directory +.Sh SYNOPSIS +.Nm +.Op Fl L | Fl P +.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 +POSIX.1-2013. |