From Issue #9January 1995
This line: if [ -n "$BASH" == "" ] ;
appears to be nonesense. Shouldn't it be if [ -n "$BASH" ] ;
Yes, it's wrong, yours is correct. He probably meant:
if [ ! "$BASH" == "" ]; ...
Mitch Frazier is an Associate Editor for Linux Journal.
Practical (and free!) books for the most technical people on the planet. Newly available books include:
Plus many more.