Ezeket már a nem iszonyatosan ősi sh is tudja. Amit nem tud (de a bash igen), az a zeller által előbb emlegetett ${v/mit/mire/} forma.