Is sed worse than patches? What about introducing a sed like command which fails if not X occurences are found? Its hard to decide (in advance) whether patcher or sed lines are better. patches cause more overhead (more files, more bytes). Marc Weber