automake-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] Modernize, improve and/or extend tests `colon*.test.


From: Ralf Wildenhues
Subject: Re: [PATCH] Modernize, improve and/or extend tests `colon*.test.
Date: Sun, 8 Aug 2010 17:40:13 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

* Stefano Lattarini wrote on Sun, Aug 08, 2010 at 05:35:57PM CEST:
> I'm just saying that when we'll write the `extract_makefile_deps' 
> function, it shouldn't bother with preserving tabs and backslashes;

Well, it should deal with them correctly, yes.

> on the other hand, it should actively normalize them to space in
> order to simplify grepping and matching of the extracted info.

I think we violently agree.

> So that, with your example below, something like:
>   foo=`extract_makefile_deps tgt2 Makefile`; echo x"$foo"x
> should print:
>   x dep1 dep2 dep3 dep4 x

More or less, yes.  I'd avoid the command substitution fork by letting
extract_makefile_deps set some variable instead of printing.

> Have I managed to make my point now?  If yes, what do you think of my 
> proposal?

Good.  Thanks,
Ralf



reply via email to

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