#!/bin/sh echo "this script adds 'FOO' everywhere" perl -pi -e "s/FOO<\/translation>/" *.ts echo "all strings replaced with 'FOO'"