[Top][All Lists]
[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
- Re: [PATCH] Modernize, improve and/or extend tests `colon*.test., Stefano Lattarini, 2010/08/05
- Re: [PATCH] Modernize, improve and/or extend tests `colon*.test., Ralf Wildenhues, 2010/08/08
- Re: [PATCH] Modernize, improve and/or extend tests `colon*.test., Stefano Lattarini, 2010/08/08
- Re: [PATCH] Modernize, improve and/or extend tests `colon*.test., Ralf Wildenhues, 2010/08/08
- Re: [PATCH] Modernize, improve and/or extend tests `colon*.test., Stefano Lattarini, 2010/08/08
- Re: [PATCH] Modernize, improve and/or extend tests `colon*.test., Ralf Wildenhues, 2010/08/08
- Re: [PATCH] Modernize, improve and/or extend tests `colon*.test., Stefano Lattarini, 2010/08/08
- Re: [PATCH] Modernize, improve and/or extend tests `colon*.test.,
Ralf Wildenhues <=
- Re: [PATCH] Modernize, improve and/or extend tests `colon*.test., Stefano Lattarini, 2010/08/08
- Re: [PATCH] Modernize, improve and/or extend tests `colon*.test., Ralf Wildenhues, 2010/08/08
- Re: [PATCH] Modernize, improve and/or extend tests `colon*.test., Stefano Lattarini, 2010/08/08
- Re: [PATCH] Modernize, improve and/or extend tests `colon*.test., Ralf Wildenhues, 2010/08/08
- Re: [PATCH] Modernize, improve and/or extend tests `colon*.test., Stefano Lattarini, 2010/08/08
- Re: [PATCH] Modernize, improve and/or extend tests `colon*.test., Ralf Wildenhues, 2010/08/08
- Re: [PATCH] Modernize, improve and/or extend tests `colon*.test., Stefano Lattarini, 2010/08/08
- avoiding forks in shell scripts (was: [PATCH] Modernize, improve and/or extend tests `colon*.test.), Ralf Wildenhues, 2010/08/08
- Re: avoiding forks in shell scripts (was: [PATCH] Modernize, improve and/or extend tests `colon*.test.), Stefano Lattarini, 2010/08/08