<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Tue, 2010-09-14 at 07:29 -0400, Trevor Woerner wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
<TT><FONT COLOR="#1a1a1a">Consistently use one conditional notation, ('[]') over</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">the other ('test').</FONT></TT><BR>
<BR>
</BLOCKQUOTE>
I am not an expert on shells, but I think the [] construct is less portable that the "test" construct.<BR>
If you grep the "configure" scripts generated by Autoconf, it exclusively uses "test". I have not read every line<BR>
carefully however. If you grep the configure.ac files, same story.<BR>
<BR>
Hopefully other reviewers could clarify this point. For shell newbees like myself, "test" is more intuitive than<BR>
a pair of brackets. And, yes, even better if the chosen scheme is used consistently.<BR>
<BR>
Gaetan
</BODY>
</HTML>