Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!uwvax!uwmacc!uwmcsd1!leah!itsgw!nysernic!rutgers!rochester!udel!burdvax!bpa!cbmvax!vu-vlsi!cgh!amanue!jr From: jr@amanue.UUCP (Jim Rosenberg) Newsgroups: comp.sys.m68k Subject: Re: Software for OS9/68K Message-ID: <244@amanue.UUCP> Date: Wed, 14-Oct-87 01:40:09 EDT Article-I.D.: amanue.244 Posted: Wed Oct 14 01:40:09 1987 Date-Received: Sat, 17-Oct-87 05:15:45 EDT References: <163@sems.UUCP> <841@pur-phy> Reply-To: jr@amanue.UUCP (Jim Rosenberg) Organization: Amanuensis Inc., Grindstone, PA Lines: 35 In article <841@pur-phy> piner@newton.physics.purdue.edu.UUCP (Richard Piner) writes: >In article <163@sems.UUCP> olof@sems.UUCP (Olof Backing) writes: >Actually, I'm looking for a port of cshell or vi. Professional >OS9/68K comes with a copy of micro-emacs which is ok, but not great. >The standard shell is fast but dumb. It does not pass arguments to >scripts. I'm as frustrated with the OS-9 shell as you are, but there does appear to be a way to pass *an* argument to a script. Multiple arguments is another story -- I still don't know how to do that. There is a command called cfp which will replace the character '*' with each of a series of arguments, and execute the resulting script. E.g. if the script is called foo and looks like cat newheader >-new/* grep -v "#" * >+new/* then cfp foo *.c would be roughly equivalent to UNIX for i do cat newheader >new/$i grep -v "#" $i >>new/$i done -- you can read it in the manual. Not very good compared to a real shell, but it gets around a tight spot until someone writes one. There's a public domain shell in Marc Rochkind's Advanced UNIX programming book that beats the socks off of what OS-9 has. Anyone volunteer to port it? :-) -- Jim Rosenberg CIS: 71515,124 decvax!idis! \ WELL: jer allegra! ---- pitt!amanue!jr BIX: jrosenberg seismo!cmcl2!cadre! /