On Wed, Jul 12, 2000 at 12:29:36PM +0200, Johan Danielsson wrote:
: [a-z] gets expanded by the shell:
: 
: --- autoconf.sh       2000/07/10 10:23:09     1.76
: +++ autoconf.sh       2000/07/12 10:31:31
: @@ -223,7 +223,7 @@
:  # 2. $WARNINGS, $3 command line options, in that order.
:  # Set them in the order expected by the M4 macros: the converse.
:  _ac_warnings=
: -for warning in `IFS=,; echo syntax,$WARNINGS,$warnings | tr [A-Z] [a-z]`
: +for warning in `IFS=,; echo syntax,$WARNINGS,$warnings | tr '[A-Z]' '[a-z]'`

Why use the braces at all?  Are they really necessary?  tr A-Z a-z has
always worked for me, and that format won't be expanded by the shell.

  Lars J

Reply via email to