Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Features  





2 Example  





3 "Acknowledgments"  





4 See also  





5 References  





6 External links  














Scsh






Ελληνικά
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Scsh
Original author(s)Olin Shivers
Developer(s)Brian Carlstrom
Martin Gasbichler
Mike Sperber
Initial release31 October 1994; 29 years ago (1994-10-31)
Stable release

0.6.7 / 16 May 2006; 18 years ago (2006-05-16)

Repositorygithub.com/scheme/scsh
Written inScheme 48
Operating systemUnix-like
PlatformIA-32
Size4.2 MB
Available inEnglish
TypeUnix shell
LicenseBSD-3-Clause
Websitewww.scsh.net

Scsh (aScheme 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 the BSD-3-Clause license.

Features

[edit]

Scsh includes these notable features:

Example

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

"Acknowledgments"

[edit]

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

[edit]

References

[edit]
  1. ^ "scheme/scsh: A Unix shell embedded in scheme". GitHub. Retrieved 2024-01-12.
  • ^ "Acknowledgements (reprinted in Philip Greenspun's book, Database-backed Web Sites)". Philip Greenspun. Retrieved 2018-12-04.
  • [edit]
  • t
  • e

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=Scsh&oldid=1195243429"

    Categories: 
    Unix shells
    Scheme (programming language) interpreters
    Scheme (programming language) implementations
    Scripting languages
    Software using the BSD license
    Unix stubs
    Hidden categories: 
    Articles with short description
    Short description matches Wikidata
    Official website different in Wikidata and Wikipedia
    All stub articles
     



    This page was last edited on 12 January 2024, at 23:54 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki