On Tue, 8 Dec 1998, Dave Mielke wrote:
> Date: Tue, 8 Dec 1998 16:00:30 -0500 (EST)
> From: Dave Mielke <[EMAIL PROTECTED]>
> To: Jim Roland <[EMAIL PROTECTED]>
> Cc: "Linux Configuration (mailing list)" <[EMAIL PROTECTED]>
> Subject: Re: Can't use script to dial in to ISP
>
> 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.
#!/bin/sh
was in the first line of the script, the attached copy had it removed
because I was testing. His shell (without the #! line) is bash.
> 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
>