Home > Programming > Shell Programming



GUIfying and Documenting your Shell Script

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

Source: adass.org


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 Files

basic shell programming

Filed under: Programming and Shell Programming
bash 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 Programming
that 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 Programming
Page 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 Programming
Advanced Bash scripting guide from The Linux Documentation Project (TLDP). Unix Shell Programming by Yashavant Kanetkar BPB Publication. ...

Shell Programming

Filed under: Programming and Shell Programming
This training in Shell Programming is designed for. administrator to create and debug shell scripts so as to. automate routine tasks. ...