Re: Bash-4.0-rc1 available for FTP

2009-01-31 Thread Nicolas
Bash versions other than `release' are built with extensive extra arena and allocation checking enabled in the bash malloc. Thanks for pointing this out. Here are the new results: Bash 4.0, with bash malloc: * eval `dircolors`: 0.138s * source /etc/bash_completion: 0.735s Bash 4.0, without

Re: if, -n string

2009-01-31 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to coubeatczech on 1/31/2009 7:24 AM: c...@notas:~$ variable= c...@notas:~$ if [ -n $variable ]; then echo true; fi true This is equivalent to 'if [ -n ]; then echo true; fi'; in other words, because there is only one argument (-n), and