Path: utzoo!attcan!uunet!nbires!ncar!boulder!spot!cochrane From: cochrane@spot.Colorado.EDU (COCHRANE JIM T) Newsgroups: comp.sys.atari.st Subject: ST-UNIX sh.prg Summary: problems with sh Message-ID: <6383@sigi.Colorado.EDU> Date: 30 May 88 19:25:09 GMT Sender: news@sigi.Colorado.EDU Reply-To: cochrane@spot.Colorado.EDU (COCHRANE JIM T) Organization: University of Colorado, Boulder Lines: 36 Has anyone figured out how to use sh in the newly posted ST-UNIX utilities (comp.binaries.st) by Andrew Smith and Steve Ashcroft. The main problems I'm having with it are: 1. I can't seem to set PATH to multiple paths, i.e.: PATH=a:\bin:b:\bin It only finds files if the path is a single directory i.e.: PATH=b:\bin 2. I can't get it to read and execute a shell script; if I type something like: cmdfl where "cmdfl" is a shell script which is either in the current directory or in the (single directory) path, sh will reply: cmdfl not found It will execute commands such as for, if, while interactively. (It will also execute *.prg or *.tos files with no problem.) Has anyone been able to get this to work; or if it's a bug, has anyone been able to figure out some other way to do it? It seems strange that it would have these problems since these are two of the most important functions performed by the Bourne shell. Also if anyone has been able to get it to read in its environmental variables upon startup, I would appreciate hearing about how that's done too. Thanks for any help or suggestions on this. Jim Cochrane cochrane@spot.colorado.EDU