Re: rhel8 test failure confirmation?

Jacob Bachmeyer <[email protected]>
Newsgroups gmane.comp.sysutils.automake.general
Message-ID <[email protected]>
Karl Berry wrote:
>     > There would not need to be much parsing, just "automake --version | grep 
>     > HiRes" in that case, or "case `automake --version` in *HiRes*) ...;; 
>     > easc" to avoid running grep if you want.
>
>     I specifically want to hear what Karl thinks.
>
> I lean towards Jacob's view that automake --version | grep HiRes will
> suffice. Not having a new option seems simpler/better in terms of later
> understanding, too. --thanks, karl.
>
> P.S. As for case vs. grep, personally I find a simple if...grep easier
> to comprehend/test/debug than a case statement. (Especially the
> macro-ized AS_CASE, which just makes me have to look up its syntax every
> time I see it.) Also fewer lines of source. Granted calling the external
> grep is less efficient, but that seems insignificant to me. I understand
> Paul and others may disagree ...

I agree that if...grep is more direct.  I suggested the case alternative 
because it stands out in my memory after I needed it once, but I do not 
recall exactly why that contortion was needed.

In configure, the efficiency difference is trivial because configure 
already runs many, many, many subprocesses.  One more grep will not make 
a difference on any reasonable platform.


-- Jacob
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.