Sponsored Links

 

 

 

Shell Scripting with Scheme

Source: www.linux-magazine.com
Topic: Shell Programming


Short Desciption:
possible with Scheme. The focus of. this article is therefore on shell. programming as well as. programming for the Internet. Shell Scripting with Scheme ...

 

Content Inside:
Shell Scripting with SchemePage 1PROGRAMMINGSCHEME74 LINUX MAGAZINE 8 2001Thinking about scripting the usualsuspects like Bash Korn ShellPython etc. will probably come tomind. However scripting is alsopossible with Scheme. The focus ofthis article is therefore on shellprogramming as well asprogramming for the Internet.Shell Scripting with SchemeA CHANGEON THEBRIDGEFRIEDRICH DOMINICUSThe Scheme shell (Scsh; http://wwwswiss.ai.mit.edu/ftpdir/scsh/) was designedspecifically for Unix scripting; in its current form it isnot nearly as suitable for interactive use as forinstance the Bash or Z shell. There are otherimplementations in Lisp languages diehard Emacsfans could check out Eshell a shell for Emacs inEmacs Lisp(http://www.emacs.org/johnw/eshell.tar .gz). Debian installation users have access to a DEBpackage of the Scheme shell users of RPMbaseddistributions have to go via the following sourcesftp://ftpswiss.ai.mit.edu/pub/su/sc sh/scsh.tar.gz.Other Scheme dialects can also be used forscripting however the Scsh offers the integrationinto the Unix tools. So why should you resort toScheme for shell programming? The author of theScheme shell Olin Shivers has the following to sayon the subject: Unix shells are real programming languages.They have variables ...]. But they are terribleprogramming languages. The data structurestypically consist only of integers and vectors ofstrings. The facilities for procedural abstraction areminimal to nonexistent. The lexical and syntacticstructures are multiphased unprincipled andbaroque.This fairly harsh criticism is aimed mainly at theprogramming language aspect. Also ignored are themany functions which make working on thecommand line so agreeable. This is the area inwhich the Scsh has great weaknesses. The length of074schemeNEW.qxd28.03.2001 10:59 Uhr Seite 74Page 2the Unix FAQ indicates that shell programming isnot an easy subject.Renaming a number of filesThe question regarding the renaming of a numberof files can also be found u ...

 

add to Google Reader add to Google Bookmark add to bloglines add to newsgator add to FURL add to digg add to webnews add to Netscape add to Yahoo MyWeb add to spurl.net add to diigo Bookmark newsvine Bookmark del.icio.us Bookmark @ SIMPIFY Bookmark MISTER WONG Bookmark Linkarena Bookmark icio.de Bookmark oneview Bookmark folkd.com Bookmark yigg.de Bookmark reddit Bookmark StumbleUpon Bookmark Slashdot Bookmark blinklist Bookmark technorati add to blogmarks add to blinkbits add to ma.gnolia add to smarking.com add to netvouz add to co.mments add to Connotea add to de.lirio.us

 

Related PDF Files

The ArtofUnix Programming Teaching Guide byEric Steven Raymond by Rob ...


Topic: Shell Programming

How touse this guide The ArtOfUnix Programming (TAOUP) was written primarily to be used as a self ... of Unix tutorials, which tend to concentrate on the level of basic shell usage, application programming ...

CU003 - UNIX Korn Shell Programming Length: 5 Days


Topic: Shell Programming

... to improve shell program efficiency and detect and correct errors • Develop a user interface menu system using shell programming constructs Course Materials UNIX Korn Shell Programming Student Guide ...

UNIX System Programming


Topic: Shell Programming

UNIX System Programming Lecture 4 BASH Shell Programming BLP: Chapter 2 BABS Outline: Redirection ... zsh, ksh Change your default shell to bash $ chsh -s /bin/bash 2 Our First Shell Script A ...

Korn Shell Script Writing


Topic: Shell Programming

2 Basic Shell Programming • Creating a Shell Script • Executing a Shell Script • Functions • Precedence of Commands • eval • Shell Variables • Assigning Variable Names • • ...

Automated testing using Shell Scripting


Topic: Shell Programming

Advanced Bash scripting guide from The Linux Documentation Project (TLDP). Unix Shell Programming by Yashavant Kanetkar BPB Publication. ...

 

Sponsored Links