Psh
From Wikipedia, the free encyclopedia
For Playstation Home, commonly abbreviated PSH, see Playstation Home.
- The correct title of this article is psh. The initial letter is shown capitalized due to technical restrictions.
Perl Shell | |
Latest release: | 1.8 / January 18th, 2003 |
---|---|
OS: | Various |
Use: | UNIX shell |
License: | GNU General Public License and Artistic License |
Website: | Official site |
The Perl Shell (psh) a command line environment that can be used as the user's primary post-login shell on UNIX-like 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 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. Also, an instant messanger term first coined by Michigander Kenny M. Psh is a fine example of the attempt to include sounds into the world of instant messaging.
[edit] Code Examples
ls | s/y/k/ # Substitution via PCRE. ls | { print ++$i, ": $_"; }q # Iterate over lines. netstat | { $_[1]>2; }g # Grep-ish.