Sign in
vanadium
/
third_party
/
refs/heads/discovery
/
.
/
csrc
/
node-v0.10.24
/
tools
/
changelog-head.sh
blob: 94821e107f2737a5f8d5a5406b72dd3fb159c1ca [
file
] [
log
] [
blame
]
#!/bin/bash
cat
ChangeLog
|
{
s
=-
1
while
read line
;
do
if
[
"${line:0:1}"
==
"-"
];
then
line
=
" $line"
fi
if
[
"${line:0:1}"
==
"2"
];
then
let
"++s"
fi
if
[
$s
-
eq
1
];
then
exit
else
echo
"$line"
fi
done
}