/jEdit/tags/jedit-4-2-pre14/bsh/commands/pwd.bsh
Unknown | 8 lines | 7 code | 1 blank | 0 comment | 0 complexity | 1407c6eb8a089c9f77a325c2d5191efd MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
- /**
- Print the BeanShell working directory. This is the cwd obeyed by all the
- unix-like bsh commands.
- */
- pwd() {
- print( bsh.cwd );
- }