[comp.os.os9] SET command

rh2y+@andrew.cmu.edu (Russell E. Hoffman, II) (10/13/89)

I have a Hazelwood UniQuad I (68008) OS9/68000 machine here on campus
that I brought from home. Unfortunately, I didn't bring all the documentation
for it, and the other day I ran into something interesting. I typed
'set PATH /h0/something or other'
and the drive fired up seeking furiously for a while and then came back
with

 ^syntax error

I haven't ever gotten a chance to read all the documentation, but I tried
this command anyway, hoping that it would do something resembling the unix
equivalent, which allows the user to set several paths to search for commands
(executable files.) What exactly does the 'set' command do, and how
do you use it properly?

jejones@mcrware.UUCP (James Jones) (10/13/89)

In article <8ZBBln200WB78PcV1j@andrew.cmu.edu> rh2y+@andrew.cmu.edu (Russell E. Hoffman, II) writes:
>I typed 'set PATH /h0/something or other' and the drive fired up seeking
>furiously for a while and then came back with
>
> ^syntax error

To get the effect you want, you should use the "setenv" command.  "Set" is
sort of superfluous as it stands, since one might as well just say "-e" as
"set -e".

	James Jones