Perl Shell

Perl Shell

Infobox Software
name = Perl Shell
latest_release_version = 1.8.1
latest_release_date = July 20, 2007
operating_system = Various
use = UNIX shell
license = GNU General Public License and Artistic License
website = [http://www.focusresearch.com/gregor/sw/psh/ Official site]

The Perl Shell (psh) is a command line environment that can be used as the user's primary post-login shell on Unix-like operating systems.

Being itself written in Perl, psh can also be used under Microsoft Windows (with or without Cygwin or Interix) and other operating systems. Packages are available for Linux distributions like Gentoo and Ubuntu, though on most systems it can be installed from CPAN by simply issuing the following command:

perl -MCPAN -e 'install Psh'

Features

Perl Shell combines aspects of bash (and other Unix shells) with the power of Perl scripting.

Code examples

ls | s/y/k/ # Substitution via PCRE. ls | { print ++$i, ": $_"; }q # Iterate over lines. netstat | { $_ [1] >2; }g # Grep-ish.

See also

*BeanShell
*Interactive Ruby Shell
*Comparison of computer shells

External links

* [http://www.focusresearch.com/gregor/sw/psh/ Official site]
*
* [http://search.cpan.org/~gregor/psh-1.8.1/doc/pshdevel.pod Related CPAN module]
* [http://www.focusresearch.com/gregor/document/psh-1.8.1.html Documentation for version 1.8.1]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Perl Shell — Запрос «PSH» перенаправляется сюда; см. также другие значения. Perl Shell ОС Various Версия 1.8.1 (20 июля 2007) Лицензия GNU General Public License и Artistic License Сайт …   Википедия

  • Perl-Shell — Die Unix Shell oder kurz Shell (en. Hülle, Schale) bezeichnet die traditionelle Benutzerschnittstelle unter Unix oder unixoiden Betriebssystemen. Der Benutzer kann in einer Eingabezeile Kommandos eintippen, die der Computer dann sogleich ausführt …   Deutsch Wikipedia

  • perl Shell — Запрос «PSH» перенаправляется сюда; см. также другие значения. Perl Shell Операционная система Various Последняя версия 1.8.1 (20 июля 2007) Лицензия GNU General Public License и Artistic License Сайт …   Википедия

  • PERL — Paradigmen: prozedural, modular, teilweise objektorientiert Erscheinungsjahr: 1987 Entwickler: Larry Wall, Perl Porter Aktuelle  …   Deutsch Wikipedia

  • Perl (Programmiersprache) — Perl Paradigmen: prozedural, modular, teilweise objektorientiert Erscheinungsjahr: 1987 Entwickler: Larry Wall, Perl Porter Aktuelle Version …   Deutsch Wikipedia

  • Perl — Desarrollador(es) Larry Wall www.perl.org Información general Paradigma multiparadigma, funcional, im …   Wikipedia Español

  • Perl 5 — Perl (langage) Pour les articles homonymes, voir Perl. Apparu en 1987 …   Wikipédia en Français

  • Perl — Семантика: мультипарадигменный: императивный, объектно ориентированный, функциональный Тип исполнения: интерпретатор Появился в: 1987 Автор(ы) …   Википедия

  • Perl — (Practical Extraction and Report Language) es un lenguaje de programación desarrollado por Larry Wall (lwall at netlabs.com) inspirado en otras herramientas de UNIX como son: sed, grep, awk, c shell, para la administración de tareas propias de… …   Enciclopedia Universal

  • Perl (langage) — Pour les articles homonymes, voir Perl. Perl Apparu en 1987 Auteur Larry …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”