Commit 2193f56e authored by Francesco Potortì's avatar Francesco Potortì
Browse files

Better sed script.

parent 7f5fce39
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment