"SfR Fresh" - the SfR Freeware/Shareware Archive 
Member "vim72/src/po/cleanup.vim" of archive vim-7.2-lang.tar.gz:
As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers.
Alternatively you can here view or download the uninterpreted source code file.
That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
1 " Vim script to cleanup a .po file:
2 " - Remove line numbers (avoids that diffs are messy).
3 " - Comment-out fuzzy and empty messages.
4 " - Make sure there is a space before the string (required for Solaris).
5 " Requires Vim 6.0 or later (because of multi-line search patterns).
6
7 " Disable diff mode, because it makes this very slow
8 let s:was_diff = &diff
9 setl nodiff
10
11 silent g/^#: /d
12 silent g/^#, fuzzy\(, .*\)\=\nmsgid ""\@!/.+1,/^$/-1s/^/#\~ /
13 silent g/^msgstr"/s//msgstr "/
14 silent g/^msgid"/s//msgid "/
15 silent g/^msgstr ""\(\n"\)\@!/?^msgid?,.s/^/#\~ /
16
17 if s:was_diff
18 setl diff
19 endif