#!/bin/sh tr -d "_" | \ awk ' BEGIN { do_print = 0; count = 0; } /^msgid/ { do_print = 0; } /^msgstr/ { do_print = 1; count = count + 1; } // { if (do_print && count > 2) print $0; } ' | grep -v '^#' | sed -e 's/^msgstr "//' -e 's/^"//' -e 's/"$//' | \ sed 's/\\.//g' | huspell