autoconf
[Top][All Lists]
Advanced

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

Re: saving AC development strength


From: Bruce Korb
Subject: Re: saving AC development strength
Date: Fri, 25 Jan 2002 08:23:20 -0800

Akim Demaille wrote:

> |   int main( int argc, char** argv ) {
> |   return strchr( argv[0], ']' ) == NULL; }
> |
> | without doing a detailed scan for '[' and ']' chars.
> | Too hard.
> 
>    int main( int argc, char** argv ) {
>    return strchr( argv[0], '@:>@' ) == NULL; }

Ick.  Poo.  And, you must mean:

>    int main( int argc, char** argv ) {
>    return strchr( argv@<:@0@:>@, '@:>@' ) == NULL; }

since:

> | without doing a detailed scan for '[' and ']' chars.

means just that.  I actually need to globally replace
all four knarly characters:  [ ] $ #
(now that I know about "Quadrigraphs" -- one step above
"trigraphs"!)

Methinks this amounts to another reason for generating
macros -- type in human readable:  strchr( argv[0], ']' )
and feed M4 the:  strchr( argv@<:@0@:>@, '@:>@' )
stuff.



reply via email to

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