bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: gettext tools / squeezing whitespace


From: Bruno Haible
Subject: Re: gettext tools / squeezing whitespace
Date: Tue, 11 Feb 2003 17:58:46 +0100 (CET)

Karl Eichwalder writes:
> The following feature request I also filed as
> http://bugzilla.suse.de/show_bug.cgi?id=23532 (accounts on request):

This URL is not world-readable. Please include all relevant
information in your mail to bug-gnu-gettext.

> There should be a switch

For which program? msgmerge? Or the gettext() function?

> treating messages

You mean, msgids or msgstrs?

> that differ in whitespace only as equal:
> 
> 1. Drop all whitespace at the beginning and at the end of a message
> 
> 2. Trun all "[ \t\n]+" sequences into a single " " (space).
> 
> Thus:
> 
> "\nhello\t world!\n\n" == "hello world!"

What do you want to achieve with such a whitespace tolerant
comparison? msgmerge's fuzzy comparison already recognizes these
cases.

Bruno




reply via email to

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