Sponsored Links

 

 

 

GUIfying and Documenting your Shell Script

Source: adass.org
Topic: Shell Programming


Short Desciption:
plications and are meant to achieve a higher level of programming. ... shell script itself (or any application of choice with a specified CLI) can be ...

 

Content Inside:
GUIfying and Documenting your Shell ScriptPage 1Astronomical Data Analysis Software and Systems VIIASP Conference Series Vol. 145 1998R. Albrecht R. N. Hook and H. A. Bushouse e Copyright 1998 Astronomical Society of the Pacific. All rights reserved.ds.GUIfying and Documenting your Shell ScriptPeter. J. Teuben1Astronomy Department University of Maryland College Park MD20742 Email: teuben@astro.umd.eduAbstract.We describe a simple method to annotate shell scripts and have apreprocessor extract a set of variables present them to the user in aGUI (using Tcl/Tk) with context sensitive help and run the script. Itthen becomes also very easy to rerun the script with different values ofthe parameters and accumulate output of different runs in a set of userdefined areas on the screen thereby generating a very powerful surveyand analysis tool.1. IntroductionScripting languages have often been considered the glue between individual applications and are meant to achieve a higher level of programming.When individual applications are (tightly) integrated into the scripting language this offers very powerful scripts fully graphical user interfaces and aresult sometimes indistinguishable from applications. A recent example of thisis the glish shell in AIPS++ (Shannon 1996). But of course the drawback of thistight integration is that applications are not always easily accessible to scriptsthat do not (or cannot) make use of the environment the scripting language wasmeant for.Apart from the black art of handcoding one of the traditional methodsto add a GUI to an application is using automatic GUI builders. This hasthe advantage that application code and user interaction code are more cleanlyseparated but this sometimes also limits the flexibility with which the code canbe written.This paper presents a simple implementation where the style of the underlying application is batch oriented and in fact can be written in any language.The user interface must be cleanly defined in a set of ...

 

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

UNIX Shell Programming


Topic: Shell Programming

... Options to the ps Utility Background Commands (&) Killing Background Processes Redirecting the Standard Error Shell Programming Concepts What is a Shell? What is a Shell Script? Why Use ...

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 ...

GUIfying and Documenting your Shell Script


Topic: Shell Programming

plications and are meant to achieve a higher level of programming. ... shell script itself (or any application of choice with a specified CLI) can be ...

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 • • ...

Shell Programming for System Administrators


Topic: Shell Programming

Course Description. The Shell Programming for System Administrators course. provides students with the skills to read write and debug. UNIX shell scripts. ...

 

Sponsored Links