[Bash-completion-devel] Always using [[ instead of [
Ville Skyttä
ville.skytta at iki.fi
Sat Nov 5 18:22:32 UTC 2011
On 11/05/2011 06:48 PM, Igor Murzov wrote:
> - [ -r $i ] && config+=( "$i" )
> + [ -r "$i" ] && config+=( "$i" )
Related to the above, I've had the intention to suggest that we apply a
policy of always using [[ instead of [. It doesn't suffer from
whitespace problems like the above, is more featureful, and also faster.
Any objections?
More information about the Bash-completion-devel
mailing list