#!/bin/sh # usage: translate-packages-ent.sh packages.ent packages-cn.ent sed $1 -e 's@less than@不到@' \ -e 's@typically about@一般约@' \ -e 's@about \(.*\) with tests@测试需要约 \1@' \ -e 's@(with tests)@(包括测试)@' \ -e '1s@ISO-8859-1@UTF-8@' > $2