Scsh

Scsh

Infobox Software
name = SCSH (SCheme SHell)



caption =
collapsible =
author =
developer = Olin Shivers
Brian Carlstrom
Martin Gasbichler
Mike Sperber
released =
latest release version = 0.6.7
latest release date = 16 May 2006
latest preview version =
latest preview date =
programming language = Scheme
operating system = Unix-like
platform = 32-bit
size = 4.2 MB
language = English
status = Unmaintained
genre = Unix shell
license = BSD License
website = [http://www.scsh.net scsh.net]

Scsh is a POSIX API layered on top of the Scheme programming language in a manner to make the most of Scheme's capability for scripting. It is limited to 32-bit platforms.

The reference manual for Scsh includes a humorous acknowledgements page written by Olin Shivers in 1994:

Who should I thank? My so-called "colleagues," who laugh at me behind my back, all the while becoming famous on my work? My worthless graduate students, whose computer skills appear to be limited to downloading bitmaps off of netnews? My parents, who are still waiting for me to quit "fooling around with computers," go to med school, and become a radiologist? My department chairman, a manager who gives one new insight into and sympathy for disgruntled postal workers?

Features

Scsh includes these notable features:

* Library support for list, character, and string manipulations;
* Regular expressions manipulation support using "scheme regular expressions", a little languages approach to the capabilities;
* Strong networking support;
* High-level support for awk like scripts, integrated into the language as macros;
* Abstractions supporting pseudo terminals;
* A shell language, modeled using quasi-quotation.

Example

* Print a list of all the executables available in the current PATH to the standard output:


#!/usr/local/bin/scsh -s!#

(define (executables dir) (with-cwd dir (filter file-executable? (directory-files dir #t))))(define (writeln x) (display x) (newline))

(for-each writeln (append-map executables ((infix-splitter ":") (getenv "PATH"))))

ee also

*esh (Unix)
*Comparison of command shells

External links

* [http://www.scsh.net/ Home page]
* [http://sourceforge.net/projects/scsh/ Sourceforge project page]
* [http://www.scsh.net/download/download.html Downloads]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Comparison of command shells — For more details on this topic, see Shell (computing). A command shell is a command line interface computer program to an operating system. Contents 1 General characteristics 2 Interactive features 3 Programming features …   Wikipedia

  • Сравнение командных оболочек — Подробнее по этой теме см.: Оболочка операционной системы. Командная оболочка  это компьютерная программа с интерфейсом командной строки операционной системы. Содержание 1 Общие характеристики 2 Интеракти …   Википедия

  • SoftQuad Software — is best known for its HoTMetaL HTML editing software. HoTMetaL was one of a series of applications created by SoftQuad for editing, viewing and publishing structured (SGML and XML) content. HoTMetaL was based upon a popular SGML Editor called… …   Wikipedia

  • Emacs Lisp — is a dialect of the Lisp programming language used by the GNU Emacs and XEmacs text editors (which will be collectively referred to as Emacs in this article.) It is used for implementing most of the editing functionality built into Emacs, the… …   Wikipedia

  • Shell script — This article is about scripting in UNIX like systems. For batch programming in DOS, OS/2 and Windows, see Batch file. For batch programming in Windows PowerShell shell, see Windows PowerShell#Scripting. A shell script is a script written for the… …   Wikipedia

  • Unix shell — A Unix shell, is a command line shell that provides the traditional user interface for the Unix operating system and for Unix like systems. Users direct the operation of the computer by entering command input as text for a command line… …   Wikipedia

  • X window manager — An X window manager is a window manager which runs on top of the X Window System, a windowing system mainly used on Unix like systems. Unlike the Mac OS (Apple Macintosh) and Microsoft Windows platforms, which have historically provided a vendor… …   Wikipedia

  • Heitor Villa-Lobos — (March 5, 1887 ndash; November 17, 1959) was a Brazilian composer, possibly the best known classical composer born in South America. He wrote numerous orchestral, chamber, instrumental and vocal works. His music was influenced by both Brazilian… …   Wikipedia

  • Thompson shell — Original author(s) Ken Thompson Initial release 1971 Operating system Unix License Unix shell The Thompson shell was the first Unix shel …   Wikipedia

  • PWB shell — The PWB shell (also known as the Mashey shell) was an early Unix shell.[1] Distributed with some versions of Programmer s Workbench UNIX circa 1975 1977, it was a modified (and generally constrained to be upward compatible) version of the… …   Wikipedia

Share the article and excerpts

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