Perl Shell (psh) is a command-line environment that can be used as a user shell on Unix-like operating systems.
| Perl shell | |
|---|---|
| operating system | Various |
| Latest version | 1.8.1 ( July 20, 2007 ) |
| License | GNU General Public License and Artistic License |
| Site | focusresearch.com/gregor... |
Being written in Perl , psh can also be used on Microsoft Windows (with or without Cygwin or Interix ) and other operating systems. Packages are available for Linux distributions like Gentoo and Ubuntu , although on most systems it can simply be installed from CPAN with the command:
perl -MCPAN -e 'install Psh'
Content
Features
Perl Shell combines the power of bash (and other Unix shells ) with the power of Perl.
Examples
ls | s / y / k / # Replacement via PCRE . ls | {print ++ $ i, ": $ _"; } q # Line-by-line processing of the output of the previous command. netstat | {$ _ [1]> 2; } g # Grep .
See also
- Command Shell Comparison
- Beanshell
- Interactive Ruby Shell