changelog shortlog tags branches changeset file revisions annotate raw help

Mercurial > hg > werc / bin/werclib.rc

revision 614: 850564611002
parent 564: 7f0505f8e891
child 654: e7610acba076
     1.1--- a/bin/werclib.rc	Mon Dec 07 05:38:42 2009 +0000
     1.2+++ b/bin/werclib.rc	Tue Jan 19 00:28:25 2010 +0000
     1.3@@ -94,7 +94,7 @@
     1.4 # File title extraction
     1.5 fn get_md_title {
     1.6     #sed 's/^(................................................................[^ ]*).*$/\1/g; 1q' < $1 
     1.7-    sed -n -e '1N; /^.*\n===*$/N; /.*\n===*\n$/!b' -e 's/\n==*\n//p' < $1
     1.8+    sed -n -e '1N; /^.*\n===*$/N; /.*\n===*\n *$/!b' -e 's/\n==*\n//p' < $1
     1.9 }
    1.10 
    1.11 fn get_html_title {