diff tests/README @ 2935:1c66aad252f9

sed portability fixes
author Brendan Cully <brendan@kublai.com>
date Wed, 16 Aug 2006 19:50:21 -0700
parents e506c14382fd
children 4cdb68d7eb92 61fcd9fac434
line wrap: on
line diff
--- a/tests/README
+++ b/tests/README
@@ -28,6 +28,6 @@ writing tests:
 
 - diff will show the current time
 
-  use hg diff | sed "s/\(\(---\|+++\) [a-zA-Z0-9_/.-]*\).*/\1/" to strip
-  dates
-
+  use hg diff | sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \
+                    -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/"
+  to strip dates