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

Re: Gettext utility to compare two PO files



On Sun, Apr 10, 2005 at 08:59:30PM +0200, Denis Barbier wrote:
> On Sun, Apr 10, 2005 at 07:40:25PM +0200, Christian Perrier wrote:
> > For D-I l10n handling, I'm looking for a method for being able to
> > isolate the msgids from a PO file which are NOT in another PO file.
> > 
> > Something like the opposite behaviour of msgcomm(1)
> > 
> > msgcmp(1) does something like this, but I would indeed need to output
> > the strings which are in file1 but not in file2 as a PO file...
> 
> Hi Christian,
> 
> "msgcat -u file1.po file2.po" does the trick.

More precisely "msgcat -u file1.po file2.po file2.po"

Denis



Reply to: