diff en/examples/hook.ws @ 165:06d18465df03

Make an example run more predictably.
author Bryan O'Sullivan <bos@serpentine.com>
date Mon, 26 Mar 2007 22:45:48 -0700
parents 8cf40d4d9377
children e67251ac336f
line wrap: on
line diff
--- a/en/examples/hook.ws	Mon Mar 26 22:28:25 2007 -0700
+++ b/en/examples/hook.ws	Mon Mar 26 22:45:48 2007 -0700
@@ -24,7 +24,7 @@
 cat .hg/hgrc
 echo 'a ' >> a
 hg commit -A -m 'add new line with trailing whitespace'
-perl -pi -e 's,\s+$,,' a
+sed -i 's, *$,,' a
 hg commit -A -m 'trimmed trailing whitespace'
 
 #$ name: