#-h- pwd.r 385 asc 24-apr-81 15:45:05 [002,100] #-h- main 323 asc 24-apr-81 15:45:00 [002,100] DRIVER(pwd) character buf(FILENAMESIZE), clower integer dtype, getarg call query("usage: pwd [-l].") dtype = PATH if (getarg(1, buf, FILENAMESIZE) != EOF) if (buf(1) == MINUS & clower(buf(2)) == LETL) dtype = LOCAL call gwdir(buf, dtype) call putlin(buf, STDOUT) call putch(NEWLINE, STDOUT) DRETURN end #-h- pwd.rof 561 asc 08-may-81 17:03:27 [002,100] .in 7 .rm 70 .pl 60 .he /PWD/%/PWD/ .fo //-#-/ .bp .ti -7 NAME .sp pwd - print working directory name on standard output .sp .ti -7 SYNOPSIS .sp pwd [-l] .sp .ti -7 DESCRIPTION .sp pwd prints the pathname of the working (current default) directory. If the -l switch is present, the current working directory is printed out in the local parlance. This path name is of the form .sp /device/directory .sp For example, .sp .ce /dp00/105,1 .sp is equivalent to .sp .ce dp00:[105,1] .sp on RSX and IAS machines. .sp .ti -7 SEE ALSO .sp cwd - change working directory