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:
parent
7f5fce3998
commit
2193f56e08
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user