#!/bin/sh SED=/bin/sed cat | $SED -e 's/[aAbBcC]/2/g' -e 's/[dDeEfF]/3/g' -e 's/[gGhHiI]/4/g' -e 's/[jJkKlL]/5/g' -e 's/[mMnNoO]/6/g' -e 's/[pPqQrRsS]/7/g' -e 's/[tTuUvV]/8/g' -e 's/[wWxXyYzZ]/9/g'