Path: utzoo!utgpu!attcan!uunet!lll-winken!csd4.milw.wisc.edu!dogie.macc.wisc.edu!uwvax!rutgers!att!homxb!opus!ki4pv!macs!mdg From: mdg@macs.UUCP (Mark Griffith) Newsgroups: comp.os.os9 Subject: Re: arguments to user-written shells Message-ID: <21187627@macs.UUCP> Date: 20 Apr 89 13:35:06 GMT References: <8190@boulder.Colorado.EDU> Organization: Stetson University, DeLand FL Lines: 31 In article <8190@boulder.Colorado.EDU>, fozzard@tigger.colorado.edu (Richard Fozzard) writes: > We are new users of OS9 and have what seems a simple question > about shell utilities. How do you pass an argument to a shell > - something likeusing !$ in UNIX scripts? > The 'standard' shell distributed with OS9 doesn't support argument variables or anything else for that matter (sigh). However, there is a shell available on Compuserve's OS9 Forum that supports just about everything you might need -- arguments, shell variables, looping, conditional tests, etc, etc. You'll need to get to that forum and download the shell patch file, and also a utility called IPATCH, which runs a comparision between the downloaded patch file, and the standard shell and outputs a new binary with all the added features. A neat way to get around copyrights (grin). Also, there is another utility called "GO" that passes command line arguements to the shell, also available from the OS9 Forum. Sorry, I can't provide the library filenames for these utilities, but all my documents are at home. Ask on the forum and someone there will provide the names for you in a couple hours. Response time for messages left is pretty quick there. Mark UUCP: mdg@macs BITNET: GRIFFITH@STETSON Compuserve: 76070,41 (OS9 Forum Assistant)