[comp.binaries.ibm.pc.d] ms_sh15 / shell archive

bk19+@andrew.cmu.edu (Bradley D. Keister) (04/06/90)

My copy of ms_sh15 unpacks OK and appears to run properly at the "$"
prompt, but I cannot get it to run a file (i.e., a shell archive).
If I type

sh filename

where filename is a shell archive in the current directory, I get

filename: cannot open

Am I doing something wrong?
Brad Keister
Physics Dept.
Carnegie Mellon U

wjin@cs.purdue.EDU (Woochang Jin) (04/08/90)

In article <ca7=E4200VoLA1olVy@andrew.cmu.edu> bk19+@andrew.cmu.edu (Bradley D. Keister) writes:
>My copy of ms_sh15 unpacks OK and appears to run properly at the "$"
>prompt, but I cannot get it to run a file (i.e., a shell archive).
>If I type
>sh filename
>where filename is a shell archive in the current directory, I get
>filename: cannot open
>Am I doing something wrong?

You should type
. filename.sh
(dot)
If you want to start with profile.sh
sh -0

------
W. Jin