Home > Programming > Shell Programming
Shell Scripting with Scheme
Sort 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 ...
Source: www.linux-magazine.com
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Related Files
basic shell programming
Filed under: Programming and Shell Programmingbash derives much of its programming functionality from shell variables. Weve ... builtin variables that are vital to shell programming. ...
Unix Shell Scripts
Filed under: Programming and Shell Programmingthat file is called shell script language. Like other programming languages it has variables and flow control. statements (e.g. ifthenelse while for ...
UNIX Shell Programming
Filed under: Programming and Shell ProgrammingPage 1 of 1 ITC_UNIXsp ExecuTrain Course Outline UNIX Shell Programming IT0001 3 Days Description Students learn to read, write, and debug shell scripts, thus increasing ...
Automated testing using Shell Scripting
Filed under: Programming and Shell ProgrammingAdvanced Bash scripting guide from The Linux Documentation Project (TLDP). Unix Shell Programming by Yashavant Kanetkar BPB Publication. ...
Shell Programming
Filed under: Programming and Shell ProgrammingThis training in Shell Programming is designed for. administrator to create and debug shell scripts so as to. automate routine tasks. ...
