Any idea whether it's the generated sed code, the fixed portions, or both, that are failing? Perhaps I accidentally did something unportable in one of the scripts. Ken