On Fri, Mar 14, 2008 at 04:26:31PM -0500, Brandon Casey wrote: > Here's the version with escaped dashes. If you do the sed version, it's > something to compare to for readability. > > [...] > > - '------------------------------' | > + '\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-' | Ugh. How about: sed 'yA~`!@#$%^&*()_+={}[]|\;:"<>,/? A------------------------------A' The 'A' delimiter is because in my test, Solaris sed didn't seem to understand \/ to include the literal '/'. And all of the other punctuation is already used in the pattern. ;) -Peff -- 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