Help - bash & script errors
Adi Linden
[email protected]
Tue, 19 Dec 2000 23:52:13 -0600 (CST)
Hi Robert,
We're getting closer. If I run the pwl_target_load script through the
stock bash (bash-1.14.7) on my RedHat system I get:
[root@big scripts]# bash -x pwl_target_load
+ [ -f /etc/bashrc ]
+ . /etc/bashrc
++ [ ]
Now the same using bash2 (bash2-2.03) I just installed:
[root@big scripts]# bash2 -x pwl_target_load
+ '[' -f /etc/bashrc ']'
+ . /etc/bashrc
++ '[' '' ']'
pwl_target_load: line 1656: syntax error: unexpected end of file
This meand the pwl_target_load and pwl_target_functions scripts do not
work with bash-2.x versions.
I will look fixing this shortly. Alternately you could try installing
bash-1.14 for now.
TTYL,
Adi
On Wed, 20 Dec 2000, Robert Heezeman wrote:
>
> My rpm -qa |grep bash reports
>
>
> bash-2.03-16mdk
>
>
> The errors reported Ralph have a strong degree of familiarity although
> playing with the scripts is beyond my current capability. Perhaps you can do
> me a new version ?
>
>
> Robert in Australia
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> This communication is intended for use of the addressee(s) and may contain legally privileged and confidential information.
> Any views or opinions presented are solely those of the author and do not necessarily represent those of Thycon.
> If you are not the addressee you are notified that any transmission, distribution or replication of this message is strictly prohibited.
> The legal privilege and confidentiality attached to this email and its contents is not waived, lost or destroyed by reason of
> mistaken delivery to you.
> If you have received this message in error, please notify Thycon immediately by E-mail to [email protected] and
> permanently delete the email from your system.
>
> Email transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted,
> lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors
> or omissions in the contents of this message, which arise as a result of email transmission. If verification is required please
> request a hard-copy version.
>
> Copyright 2000 Thycon. All rights reserved.
>
> PHONE : 61 3 9319 9000
> FAX : 61 3 9319 9001
>
>
>
>
---------------------------------------------------
See the list archives at http://adis.on.ca/archives/
See the PWL homepage at http://peeweelinux.com
---------------------------------------------------