* 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