[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 15autotest-more-info-prettier.diff

From: gary
Subject: Re: 15autotest-more-info-prettier.diff
Date: Thu, 14 Aug 2003 13:30:43 +0100
User-agent: Demon-WebMail/2.0

address@hidden wrote:
> +    $at_quiet $ECHO_N "m4_format([[%3d: %-45s]],
> +                    AT_ordinal, [$1])[]$ECHO_C"

The above line is overquoted, and should read:

  +                    AT_ordinal, $1)[]$ECHO_C"

Consider:  I want to create a test group called `divert'.


But m4 will cause the divert builtin to be called on rereading, so I double 
quote it:


with the overquoted $1 in the patch as is, we end up with three quote levels, 
and the test group will display as:

    1: [divert]                                       ok

I think the same problem would occur if you had a comma, or $1 in the group 
name and needed to double quote the argument to AT_SETUP to prevent m4 from 
misbehaving when rereading.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]