Brandon Casey <casey@xxxxxxxxxxxxxxx> writes: > I learned that the 'Q' command to sed is not portable, and most versions > of sed require a newline after 'c\' like commands. Both true. If you want to be portable to esoteric ones (I suffered AIX while hacking on autoconf long time ago), sed is a bitch to get right. What I meant with my earlier comment was that it would have been more robust if you did a sequence of: s/type .*/type $newtype/ s/object .*/object $newobject/ instead of relying on the order in the existing objects, but I should have been more explicit about c\ as well. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html