hgbook

diff en/hook.tex @ 320:97e929385442

Small typos, plus a perl regexp match. It was stripping newlines!
author Taavi Burns <taavi@taaviburns.ca>
date Sun Aug 31 12:14:23 2008 -0400 (2008-08-31)
parents a168daed199b
children 339720510480
line diff
     1.1 --- a/en/hook.tex	Tue Aug 26 13:55:04 2008 -0700
     1.2 +++ b/en/hook.tex	Sun Aug 31 12:14:23 2008 -0400
     1.3 @@ -509,7 +509,7 @@
     1.4  whitespace from a file.  This is concise and useful enough that I will
     1.5  reproduce it here.
     1.6  \begin{codesample2}
     1.7 -  perl -pi -e 's,\\s+\$,,' filename
     1.8 +  perl -pi -e 's,[ \textbackslash{}t]+\$,,' filename
     1.9  \end{codesample2}
    1.10  
    1.11  \section{Bundled hooks}