From: Colin Watson Date: Tue, 17 Jan 2006 23:14:33 +0000 (+0000) Subject: simple script to print the character set of a .po file in a way suitable for feeding... X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=942b22f879809a6ce272449c5de37b4dd3e26185;p=bin.git simple script to print the character set of a .po file in a way suitable for feeding to msgconv --- diff --git a/po-charset b/po-charset new file mode 100755 index 0000000..8b9e724 --- /dev/null +++ b/po-charset @@ -0,0 +1,2 @@ +#! /usr/bin/perl -ln +/^"Content-Type: .* charset=(.*)\\n"$/ and print $1