| Scsh | |
|---|---|
![]() | |
| Original author | Olin Shivers |
| Developers | Brian Carlstrom Martin Gasbichler Mike Sperber |
| Initial release | 31 October 1994; 31 years ago (1994-10-31) |
| Stable release | 0.6.7 / 16 May 2006; 19 years ago (2006-05-16) |
| Written in | Scheme 48 |
| Operating system | Unix-like |
| Platform | IA-32 |
| Size | 4.2 MB |
| Available in | English |
| Type | Unix shell |
| License | BSD-3-Clause |
| Website | www |
| Repository | github |
Scsh (aScheme shell) is computersoftware, a type ofshell for anoperating system. It is a Portable Operating System Interface (POSIX)application programming interface (API) layered on the programming languageScheme, in a manner to make the most of Scheme's ability forscripting. Scsh is limited to32-bit platforms but there is a development version against the latestScheme 48 that works in64-bit mode.[1] It isfree and open-source software released under theBSD-3-Clause license.
Scsh includes these notable features:
#!/usr/local/bin/scsh-s!#(define(executablesdir)(with-cwddir(filterfile-executable?(directory-filesdir#t))))(define(writelnx)(displayx)(newline))(for-eachwriteln(append-mapexecutables((infix-splitter":")(getenv"PATH"))))
The reference manual for Scsh includes a spoofAcknowledgments section[2] written by Olin Shivers. It starts:
and concludes with: