Annotation of lucent/sys/man/1/pwd, revision 1.1.1.1

1.1       root        1: .TH PWD 1
                      2: .SH NAME
                      3: pwd, pbd \- working directory
                      4: .SH SYNOPSIS
                      5: .B pwd
                      6: .br
                      7: .B pbd
                      8: .SH DESCRIPTION
                      9: .I Pwd
                     10: prints the path name of the working (current) directory. Pwd
                     11: does not guarantee to return the same path that was used to
                     12: enter the directory. The returned path may be another route
                     13: through the name space to the same working directory. This behavior
                     14: will arise when a combination of mounts or binds produces a 
                     15: graph in the file name space tree.
                     16: .PP
                     17: .I Pbd
                     18: prints the base name of the working (current) directory.
                     19: It prints no final newline and is intended for applications
                     20: such as constructing shell prompts.
                     21: .SH SOURCE
                     22: .B /sys/src/cmd/pwd.c
                     23: .br
                     24: .B /sys/src/cmd/pbd.c
                     25: .SH SEE ALSO
                     26: .I cd
                     27: in
                     28: .IR rc (1),
                     29: .IR bind (1),
                     30: .IR getwd (2)
                     31: .SH BUGS
                     32: A kernel bug sometimes prevents
                     33: .B pbd
                     34: from working when the current directory is a device, in which
                     35: case
                     36: .I pbd
                     37: returns
                     38: .RB ` . '.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.