hgbook
diff en/examples/hook.ws @ 165:06d18465df03
Make an example run more predictably.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon Mar 26 22:45:48 2007 -0700 (2007-03-26) |
parents | 8cf40d4d9377 |
children | e67251ac336f |
line diff
1.1 --- a/en/examples/hook.ws Thu Mar 08 23:11:55 2007 -0800 1.2 +++ b/en/examples/hook.ws Mon Mar 26 22:45:48 2007 -0700 1.3 @@ -24,7 +24,7 @@ 1.4 cat .hg/hgrc 1.5 echo 'a ' >> a 1.6 hg commit -A -m 'add new line with trailing whitespace' 1.7 -perl -pi -e 's,\s+$,,' a 1.8 +sed -i 's, *$,,' a 1.9 hg commit -A -m 'trimmed trailing whitespace' 1.10 1.11 #$ name: