Scsh

del.icio.us del.icio.us
Digg Digg
Furl Furl
Reddit Reddit
Rojo Rojo
Add to OnlyWire
SCSH (SCheme SHell)
Image:Scsh_logo.gif
Developed by Olin Shivers
Brian Carlstrom
Martin Gasbichler
Mike Sperber
Latest release 0.6.7 / 16 May 2006
Written in Scheme
OS Unix-like
Platform 32-bit
Size 4.2 MB
Available in English
Development status Unmaintained
Genre Unix shell
License BSD License
Website 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 humourous 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?

Contents

Features

Scsh includes these notable features:

Example

#!/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"))))

See also

External links

This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.


Giant Panda

Mercedes Car
James Bond Guide
This site monitored by SitePinger.net