#!/bin/sh pybabel extract -F babel.map . -o subdap.pot for i in *.po do msgmerge -v "$i" subdap.pot > "${i}T" done