in reply to Has a Windows-based tcsh-like shell been created in Perl yet ...?

There was once Perl Shell, but since its 1.0 release in 2003 not much evolution seems to have been happening.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

  • Comment on Re: Has a Windows-based tcsh-like shell been created in Perl yet ...?

Replies are listed 'Best First'.
Re^2: Has a Windows-based tcsh-like shell been created in Perl yet ...?
by parv (Parson) on Sep 12, 2005 at 08:42 UTC
    version 1.8 is available on CPAN, but its release date was also in Jan 2003.
Re^2: Has a Windows-based tcsh-like shell been created in Perl yet ...?
by liverpole (Monsignor) on Sep 12, 2005 at 11:12 UTC
    I did try psh, as the documentation sounded promising.  Unfortunately, it didn't work well at all, and threw regex exceptions on every command I tried.  But from its writeup, the objectives sounded like what I needed.

    Here's an example of something I'd like a shell to be capable of (and this would be "piece of cake" in Perl) -- allow a history listing mechanism that not only shows last N commands, but lets you search using a regex for matching commands:

    h 15 # Would give the last 15 commands (like "hist +ory 15") h word1 word2 word3 # Would list commands containing all of the g +iven words h /^(vim?|emacs)\b/ # Would list all editing commands (vi, vim, e +macs)
    This kind of task would be perfect for the powerful idioms in Perl!