Path: news1.icaen!news.uiowa.edu!iagnet.net!128.223.220.30!logbridge.uoregon.edu!news.bc.net!rover.ucs.ualberta.ca!alberta!glyn From: glyn@cs.ualberta.ca (Devin Reade) Newsgroups: comp.sys.apple2.gno Subject: Re: Shell scripts Date: 26 Sep 1997 02:09:09 GMT Organization: Myrias Research Corporation Lines: 24 Message-ID: <60f5g5$ige$1@scapa.cs.ualberta.ca> References: <60ebrv$pr5$1@vixen.cso.uiuc.edu> NNTP-Posting-Host: menaik.cs.ualberta.ca In article <60ebrv$pr5$1@vixen.cso.uiuc.edu>, Jonathan E Isom wrote: >I can't figure out how to make shell scripts. >any help would be apprecaited Well, that wasn't a very descriptive request. In what way are you having problems? First of all, gsh is a poor shell for scripting. Unfortunately, there isn't any other choice for GNO v2.0.4. I'm working on an sh (Bourne) implementation for GNO v2.0.6, but it's not ready for use. Gsh is fine for fairly "dumb" scripts though. (Ones that don't require control flow.) If you let us know *how* you're having problems, maybe we can help. At the basic level: 1) Edit a text file containing gsh commands 2) Change it from a text file to a shell script: chtyp -lexec scriptname 3) Run it by typing 'scriptname' -- Devin Reade gdr@myrias.com