#18 Elegant command-line interpretation

open
nobody
None
5
2003-09-27
2003-09-27
No

This patch facilitates the use of the Psh module (when
it is present on a user's system). This patch includes
the following modifications:

- Replaced Perl -w option with $^W=1 to suppress
warnings when Psh is in use.
- Added dynamic check for availability of Psh module.
- Added 'history' command to view Term::ReadLine::Gnu
command history.
- Added warnings/errors when 'redir' command fails.
- Added variables $PSH_SUPPORT and $LDAPSH_PARSER to
indicate whether Psh is in use.
- Documented Psh command-line syntax (dual
documentation of ldapsh and Psh syntaxes).
- Provide Psh::Strategy::Ldapsh::Perlfunc and
Psh::Strategy hooks.
- Modify main loop to use Psh, when it is available.
- Regex patch for ldapsh built-in pipe syntax.

Discussion

  • James Devenish

    James Devenish - 2003-09-27

    Patch against ldapsh CVS rev 1.26

     
  • James Devenish

    James Devenish - 2003-09-27

    Logged In: YES
    user_id=38479

    This patch is now in ldapsh CVS branch PATCH-813390.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks