[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Quilt-dev] restoring moved file
From: |
John Vandenberg |
Subject: |
Re: [Quilt-dev] restoring moved file |
Date: |
Sat, 13 Aug 2005 12:37:54 +1000 |
On 8/12/05, Martin Quinson <address@hidden> wrote:
> On Tue, Aug 09, 2005 at 12:06:49AM +1000, John Vandenberg wrote:
(...)
> > + printf $"File $file2 can not be restored: file exists\n" >&2
>
> This prevents translation to work because $file2 is extended in the string,
> and then we look for a translation of, say "File get_funky.c can not be
> restored: file exists\n", which of course doesn't exist.
>
> That's why you have to use "%s" construct since it delays the variable
> expension until after the translation lookup.
thanks for the tip.
--
John