cook.sh: compare the series title line as well

todo
Junio C Hamano 2009-09-07 17:52:46 -07:00
parent f5d9ae2413
commit 0051b441b3
1 changed files with 2 additions and 2 deletions

View File

@ -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"