SuSEconfig: bash-2.0

root root at www.info.h2o.de
Do Jun 11 18:28:36 CEST 1998


Hallo  (english text see below),
Die neue Version der Bash (2.0) orientiert sich wesentlich strenger am
POSIX-Standard. Das kann dazu führen, daß einige Scripte mit der neuen
Bash nicht mehr fehlerfrei ausgeführt werden können. Wenn Sie auf
derartige Probleme stoßen sollten, haben Sie zwei Möglichkeiten:
1. Möglichkeit: Sie passen die Scripte an, so daß sie POSIX-konform
werden.  Nach unseren Erfahrungen ist es in 99.9% aller Fälle einfach nur
ein fehlendes Semikolon vor einer schliessenden Klammer.  Sprich in der
Bash (1.x) war folgendes möglich:
  { command1 ; command2 }
in der Bash (2.0) muss dieses Kommando
  { command1 ; command2 ; }
heissen.
2. Möglichkeit:  Alternativ installieren einfach die alte Version der
Bash, die Sie im Paket bash1 in der Serie a finden können.  Nach der
Installation dieses Paketes können Sie die alte Bash durch ein
  mv /bin/bash1 /bin/bash
aktivieren.
Hello,
The new Version of bash (2.0) sticks far closer to the POSIX-standard.
This may lead to scripts no longer being executed correctly with the
new bash. If you should encounter this type of problem, you have two
alternatives:
1. adapt your scripts to be POSIX-conform - in almost every case it is
only a missing ";" at the end of a command list. In bash (1.x) a command
like the one below could be executed:
  { command1 ; command2 }
In bash (2.0) this has to be done like this:
  { command1 ; command2 ; }
2. install the old version of bash which may be found as bash1 in series a.
After installation of this package you will be able to activate the old
bash by entering:
  mv /bin/bash1 /bin/bash



Mehr Informationen über die Mailingliste linux-l