请输入您要查询的百科知识:

 

词条 Scsh
释义

  1. Features

  2. Example

  3. "Acknowledgments"

  4. See also

  5. References

  6. External links

{{Infobox software
| name = Scsh
| logo = Scsh logo.png
| screenshot =
| caption =
| author = Olin Shivers
| developer = Brian Carlstrom
Martin Gasbichler
Mike Sperber
| released = {{Start date and age|1994|10|31|df=yes}}
| latest release version = 0.6.7
| latest release date = {{Start date and age|2006|05|16|df=yes}}
| latest preview version =
| latest preview date =
| repo = {{URL|github.com/scheme/scsh}}
| programming language = Scheme 48
| operating system = Unix-like
| platform = IA-32
| size = 4.2 MB
| language = English
| genre = Unix shell
| license = BSD
| alexa =
| website = {{URL|www.scsh.net}}
| standard =
| AsOf =
}}

Scsh (a Scheme shell) is computer software, a type of shell for an operating system. It is a Portable Operating System Interface (POSIX) application programming interface (API) layered on the programming language Scheme, in a manner to make the most of Scheme's ability for scripting. Scsh is limited to 32-bit platforms but there is a development version against the latest Scheme 48 that works in 64-bit mode.[1] It is free and open-source software released under a BSD license.

Features

Scsh includes these notable features:

  • Library support for list, character, and string manipulations;
  • Regular expressions manipulation support using scheme regular expressions, a domain-specific language (DSL), or little languages, approach to the abilities;
  • 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:
  1. !/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

"Acknowledgments"

The reference manual for Scsh includes a spoof Acknowledgments section[2] written by Olin Shivers. It starts:

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?

and concludes with:

Oh, yes, the acknowledgements. I think not. I did it. I did it all, by myself.

See also

{{Portal|Free and open-source software}}
  • Unix shell
  • Comparison of command shells

References

1. ^{{cite web |url=https://github.com/scheme/scsh |title=Scheme/Scsh |website=GitHub |access-date=2018-12-04}}
2. ^{{cite web |url=http://philip.greenspun.com/wtr/dead-trees/acknowledgments.html |title=Acknowledgements (reprinted in Philip Greenspun's book, Database-backed Web Sites) |website=Philip Greenspun |access-date=2018-12-04}}

External links

  • {{Official website|www.scsh.net}}
  • {{GitHub|scheme/scsh}}
  • Sourceforge project page
  • Downloads
{{Unix shells}}{{Lisp programming language}}{{Unix-stub}}

5 : Unix shells|Scheme (programming language) interpreters|Scheme (programming language) implementations|Scripting languages|Command shells

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/25 14:29:31