I'm not sure what problem you're having, but I suspect it's rather simple to fix. I'm not an expert on sh verses bash, but I'm pretty sure your script should work. Try a which on bash on both boxes. Then do the same on sh. hattons@baldur:~> which bash /bin/bash hattons@baldur:~> which sh /bin/sh hattons@baldur:~> It may be as simple as changing the #!/bin/bash to point to the correct place. Steven B.S. Computer Science, University of Maryland University College Send me your script off list, and I'll be happy to take a look. On Sunday 10 February 2002 10:45 pm, you wrote:
Greetings All, Well I guess my problem is that I'm trying to run a script written for the Bourne shell on what is really bash. I was hoping that I could work on shell scripts at home for my class at U of MD. Since the university runs Sun OS v2.6 they don't seem to run on my SuSE 7.3 box. I tried reading the man pages for bash, hoping to glean some method of making bash pretend to be bourne, but if its there I can't figure it out. Does anyone know if it is possible to run scripts written for bourne under bash? Is it possible to install the Bourne Shell in SuSE? Are any current distro's available with bourne? I really like SuSE so I'll keep it on my primary box, but if RedHat or Mandrake, etc... can provide this functionality, I'd gladly buy one of them for one of my other home boxes. Please point me in the right direction if you can. Thanks,
steve