/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

  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. }