On Mon, 7 Dec 1998, Jim Roland wrote:
>As I stated before.  The script runs fine when manually entered on the
>commandline (exactly like the script) and the script runs fine in my
>Slackware Dist.  Not on RedHat.

The distribvution would have nothing to do with this problem. There is,
however, something else which might, i.e. the shell which is being used. 

If my memory is working correctly, the script, as included in your initial
message, did not begin with a "#!" line. This means that it will be
interpretted by whichever shell the user happens to be running when he invokes
it.  Try explicitly specifying a shell, e.g. "#!/bin/sh", as the very first
line (with no leading space) of the script. I would recommend specifying the
shell that you are using in the environment where you know for sure that it
works.

If this does not work, then please resend a copy of the script for further
analysis. I, personally, would prefer that the file be attached to, rather than
its content be retyped into, the message.

-- 
Dave Mielke               | 856 Grenon Avenue
Phone: 1-613-726-0014     | Ottawa, Ontario
EMail: [EMAIL PROTECTED] | Canada  K2B 6G3

Reply via email to