1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-30 11:09:23 +00:00

Better sed script.

This commit is contained in:
Francesco Potortì 2003-01-20 16:15:15 +00:00
parent 7f5fce3998
commit 2193f56e08

View File

@ -62,7 +62,18 @@ Changes since $OLD
EOF
cvs -q diff -b -r $oldtag -r $newtag $(find -name ChangeLog|sort) |
sed -n -e 's/^=\+/ /p' -e 's/^> //p' -e 's/^diff.*//p' \
-e 's/^RCS file: .cvsroot.emacs.emacs.\(.*\),v/\1/p'
sed -n -e 's/^=\+/======/p' -e 's/^> //p' -e 's/^diff.*//p' \
-e 's/^RCS file: .cvsroot.emacs.emacs.\(.*\),v/\1/p' |
sed -n -e "/^======$/ {
N
N
h
d
}
H
s/.*//
x
s/^\n//
p"
echo " announcement created in $outfile" >&2