Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ut-ngp.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!whuxl!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!hao!seismo!ut-sally!ut-ngp!ruben From: ruben@ut-ngp.UUCP (Ruben Ramirez-Mitchell) Newsgroups: net.micro.cpm Subject: Example of simple Microshell script. Message-ID: <1272@ut-ngp.UUCP> Date: Sat, 2-Feb-85 21:10:52 EST Article-I.D.: ut-ngp.1272 Posted: Sat Feb 2 21:10:52 1985 Date-Received: Thu, 7-Feb-85 02:18:55 EST Organization: U.Texas Computation Center, Austin, Texas Lines: 126 Somebody asked me for an example of microshell scripts, the following includes a few of the commands and does not make use of any of the microtools. What I needed is a script to make the output of 'SD $SDALNP' more readable. I needed to set the printer margins,etc; form feed in between drive listings, I wanted the date, and the option to specify system and library files. I 'FILTER'ed the file to eliminate control chars (like ESC G4, ESC G8, ESC [ 1;96s, etc I use for my Televideo 950 and Qantex printer). The script is in a file called 'hdisk.shl' and it is invoked by the name 'hdisk ' :-------------------------------------------------------------------- : PROGRAM hdisk : USAGE hdisk [options] :