cook.sh: compare the series title line as well
Junio C Hamano committed
Sep 7, 2009 at 17:52 UTC
0051b441b38ee2312499f46d78c6c9b29ee09234
1 file changed
+2
-2
cook.sh
+2
-2
index ff7c134068..328b515fdc 100755
--- a/cook.sh
+++ b/cook.sh
@@ -112,8 +112,8 @@ add_desc () {
show_topic () {
old=$1 new=$2
- sed -n -e '/^ ..*/p' "$old" >"$tmp.old.nc"
- sed -n -e '/^ ..*/p' "$new" >"$tmp.new.nc"
+ sed -n -e '/^ ..*/p' -e '/^\* /p' "$old" >"$tmp.old.nc"
+ sed -n -e '/^ ..*/p' -e '/^\* /p' "$new" >"$tmp.new.nc"
if cmp "$tmp.old.nc" "$tmp.new.nc" >/dev/null
then
cat "$old"