Slackware-12 still fails three tests

Peter Stuge peter at stuge.se
Sun Aug 22 00:13:11 EST 2010


Cristian Ionescu-Idbohrn wrote:
> > if [[ `$SHELL -c true 2>&1` != "" ]]; then
> 
> Or maybe even:
> 
> if [ "$($SHELL -c : 2>&1)" ]; then

I believe backtick is more compatible than $() even though I do
prefer the latter. I'm spoilt with bash everywhere though.


//Peter


More information about the openssh-unix-dev mailing list