[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Quilt-dev] [PATCH] user-definable tail and grep
From: |
Andreas Gruenbacher |
Subject: |
Re: [Quilt-dev] [PATCH] user-definable tail and grep |
Date: |
Fri, 16 Sep 2005 00:40:08 +0200 |
User-agent: |
KMail/1.7.1 |
On Friday 16 September 2005 00:05, Gary V. Vaughan wrote:
> The normal approach is to allow the script user to override paths to
> particular commands in the environment. I was quite surprised to
> see @COMMAND@ substitution hard coding scattered across the code rather
>
> than something like this at the top of patchfns:
> : ${TAIL="@TAIL@"}
>
> Then for the rest of the scripts:
>
> "$TAIL" -n 42 ...
>
> Is this just an oversight? Or is there a reason for that design?
What's the benefit of "$TAIL" over @address@hidden (I'd rather use $TAIL
without
quotes to allow passing in arguments/etc, too.) IMHO it's a mess either way,
and once we have @FOO@ substitutions we can as well replace them all over the
place.
On the other hand, adding a directory to the front of path in patchfns would
allow us to get rid of most @address@hidden in the scripts.
-- Andreas.
- Re: [Quilt-dev] [PATCH] user-definable tail and grep, (continued)
- Re: [Quilt-dev] [PATCH] user-definable tail and grep, Jean Delvare, 2005/09/18
- Re: [Quilt-dev] [PATCH] user-definable tail and grep, Andreas Gruenbacher, 2005/09/18
- Re: [Quilt-dev] [PATCH] user-definable tail and grep, Jean Delvare, 2005/09/18
- Re: [Quilt-dev] [PATCH] user-definable tail and grep, Andreas Gruenbacher, 2005/09/18
- Re: [Quilt-dev] [PATCH] user-definable tail and grep, John Vandenberg, 2005/09/18
- Re: [Quilt-dev] [PATCH] user-definable tail and grep, Jean Delvare, 2005/09/19
- Re: [Quilt-dev] [PATCH] user-definable tail and grep, Jean Delvare, 2005/09/19
- Re: [Quilt-dev] [PATCH] user-definable tail and grep, Andreas Gruenbacher, 2005/09/19
- Re: [Quilt-dev] [PATCH] user-definable tail and grep, Andreas Gruenbacher, 2005/09/19
Re: [Quilt-dev] [PATCH] user-definable tail and grep, Gary V. Vaughan, 2005/09/15
- Re: [Quilt-dev] [PATCH] user-definable tail and grep,
Andreas Gruenbacher <=
Re: [Quilt-dev] [PATCH] user-definable tail and grep, Andreas Gruenbacher, 2005/09/15