PageRenderTime 31ms CodeModel.GetById 8ms RepoModel.GetById 0ms app.codeStats 0ms

/jEdit/tags/jedit-4-2-pre4/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
  1. /**
  2. Print the BeanShell working directory. This is the cwd obeyed by all the
  3. unix-like bsh commands.
  4. */
  5. pwd() {
  6. print( bsh.cwd );
  7. }