perl Shell
From Wikipedia, the free encyclopedia
|
|
The topic of this article may not meet Wikipedia's general notability guideline. Please help to establish notability by adding reliable, secondary sources about the topic. If notability cannot be established, the article is likely to be merged, redirected, or deleted. (April 2011) |
| This article relies on references to primary sources or sources affiliated with the subject, rather than references from independent authors and third-party publications. Please add citations from reliable sources. (April 2011) |
"PSH" redirects here. For other uses, see PSH (disambiguation).
| Stable release | 1.8.1 / July 20, 2007 |
|---|---|
| Operating system | Various |
| License | GNU General Public License and Artistic License |
| Website | http://www.focusresearch.com/gregor/sw/psh/ |
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'
Contents |
[edit] Features
Perl Shell combines aspects of bash (and other Unix shells) with the power of Perl scripting.
[edit] Code examples
ls | s/y/k/ # Substitution via PCRE. ls | { print ++$i, ": $_"; }q # Iterate over lines. netstat | { $_[1]>2; }g # Grep-ish.
[edit] See also
[edit] External links
|
|
|||||
| This Unix-related article is a stub. You can help Wikipedia by expanding it. |