Mercurial > hg > kdocs
changeset 93:1bd46b3c996d
sed is greedy, so limit the regex match
author | jim@jtan.com |
---|---|
date | Sat, 10 Nov 2007 19:54:09 -0500 |
parents | fdf64e606a2a |
children | d3a9753eea24 |
files | local/git-quick.html |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/local/git-quick.html Sat Nov 10 20:16:34 2007 -0600 +++ b/local/git-quick.html Sat Nov 10 19:54:09 2007 -0500 @@ -114,7 +114,7 @@ the current state of a file. It shows each line, prefixed with the commit identifier which last changed that line. (If the default version of <b>git blame</b> is difficult to read on an 80 charater terminal, try <b>git blame -$FILE | sed 's/(.*)//'</b> to see more of the file itself.)</p> +$FILE | sed 's/([^)]*)//'</b> to see more of the file itself.)</p> <a name="versions"><h2>Working with historical versions</h2>