%%s 0/0/0 %%d D 1.1 25-Mar-82 12:11:07 v1.1 1 0 %%c Version 1.1 is the Spring 1982 Distribution of the LBL/Hughes release %%c of the Software Tools Virtual Operating System software and documentation. %%T %%I 1 #-h- pwd.r 390 asc 25-mar-82 08:18:41 v1.1 (sw-tools v1.1) #-h- main 317 asc 25-mar-82 08:18:30 v1.1 (sw-tools v1.1) 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) == '-' & clower(buf(2)) == 'l') dtype = LOCAL call gwdir(buf, dtype) call putlin(buf, STDOUT) call putch('@n', STDOUT) DRETURN end #-h- pwd.fmt 468 asc 25-mar-82 08:18:41 v1.1 (sw-tools v1.1) .so ~bin/manhdr .hd Pwd (1) 12-Aug-81 print working directory name on standard output .sy pwd [-l] .ds 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 /u/usrlib .sp is equivalent to .sp .ce u:[usrlib] .sp on VMS .sp .sa cd - change working directory .di .au Joe Sventek .bu %%E 1