forked from mfillpot/mathomatic
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmakenews.sh
executable file
·14 lines (14 loc) · 887 Bytes
/
makenews.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# Make forward order changelog in "NEWS" file from changes.txt:
set -e
(echo; echo "The latest version of Mathomatic is `cat VERSION`, here are the changes:"; tac -r -s "^Mathomatic version.*$" changes.txt) | head -n -9 >NEWS.tmp
echo >>NEWS.tmp
echo ---------------------------------------------------------------------- >>NEWS.tmp
echo End of this version history of the Mathomatic computer algebra system. >>NEWS.tmp
echo Current as of `date '+%D'` \(`date '+%F'`\). >>NEWS.tmp
echo The latest changes are at the beginning of this file. >>NEWS.tmp
echo This file is always available up-to-date at http://mathomatic.org/NEWS >>NEWS.tmp
echo Alternatively, you can get it at http://mathomatic.orgserve.de/NEWS >>NEWS.tmp
echo Do not edit this file, edit the end of changes.txt instead. >>NEWS.tmp
echo Written and maintained by George Gesslein II. >>NEWS.tmp
mv NEWS.tmp NEWS