in reply to Faster Flat File
This will also give you the obvious speed increases that others have pointed out, though it may be slower than a completely home-made solution.
UPDATE: Clarified first |P.
-- perl -pe "s/\b;([st])/'\1/mg"