0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/tools/changelog-head.sh

16 lines
202 B
Bash

#!/bin/bash
cat ChangeLog | {
s=-1
while read line; do
if [ "${line:0:1}" == "2" ]; then
let "++s"
fi
if [ $s -eq 1 ]; then
exit
else
echo "$line"
fi
done
}