#!/bin/sh for f in `ls -1 *.po`; do msgfmt $f -o `echo $f | sed -e s/\\\.po/\\\.gmo/` done