> It's as simple as "sed -e ... -e ... -e ... -e ... < input > output", > isn't it? Or via -f and a file, the same thing. The problem is that the "-e ..." thingies are computed dynamically. The "-f" idea would work though I think. Michael C