bug-gnulib
[Top][All Lists]
Advanced

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

Re: gnulib-cache.m4 readability


From: Paolo Bonzini
Subject: Re: gnulib-cache.m4 readability
Date: Thu, 31 Jul 2008 09:25:56 +0200
User-agent: Thunderbird 2.0.0.16 (Macintosh/20080707)


Since you are already pointing out that your sed program is likely unportable,

I don't know any sed that would choke on it, actually.

/gl_MODULES(/ {

you would need a "ta" here too, to reset the flag.

  :a
    s/)/)/
    tb
    N
    ba
  :b
  s,^.*gl_MODULES([[ ]*\([^])]*\).*$,cached_specified_modules="\1",p
}

You can also do something like

:a
/gl_[A-Z][A-Z]*([^)]*$/ N
/)/! ba

at the top, which would apply to all gl_SOMETHING macros.

Paolo




reply via email to

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