mirror of
https://github.com/mfillpot/mathomatic.git
synced 2026-01-08 04:29:39 +00:00
15 lines
887 B
Bash
Executable File
15 lines
887 B
Bash
Executable File
#!/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
|