<quote who="Steve Kowalik"> > The Debian .bashrc uses 'if [ "$PS1" ]; then' > (In my mind, 'if [ ! -z "$PS1" ]; then' sounds like a better plan.) >
Of course, why use no chars, when you can use three? If you absolutely want an operand, why not 'if [ -n "$PS1" ]; then' ? I always like this technique best in login scripts... J. -- Jan Schmidt [EMAIL PROTECTED] Open Source Software: Free as in Free Speech, not Free Beer
PGP signature