[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: command to strip po file
From:       Eloy Cuadra <ecuadra () eloihr ! net>
Date:       2006-07-17 10:46:14
Message-ID: 200607171246.14613.ecuadra () eloihr ! net
[Download RAW message or body]

On Monday, 17 de July de 2006 12:10, Donatas G. wrote:
> Nick Shaforostoff wrote:
> >> Is there a gettext or other type of command to strip a translated *.po
> >> file so that it becomes empty of translation (as a *.pot)?
> >
> > msgfmt --nowrap
> > to get
> > [blah, blah...]
>
> I do still need the empty
> msgstr ""
> entries...

Try this:

msgfilter --input=infile.po --output-file=outfile.po --keep-header 
sed --expression='s/.*//'

It works fine for me.

Greetings.
-- 
Eloy Cuadra
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic