Diff

Differences From Artifact [be31b588ea]:

To Artifact [1221ac4453]:


1
2
3
4
5
6








1
2
3
4


5
6
7
8
9
10
11
12




-
-
+
+
+
+
+
+
+
+
#! /bin/bash

cd /home/rkeene/devel/freecolor || exit 1

groff -mandoc -Thtml < freecolor.1 | awk '/^<body>$/{ start = 1; next; } /^<\/body>$/{start = 0} (start == 1){ print $0 }' | fossil wiki commit Manual
fossil sync
newpage="$(groff -mandoc -Thtml < freecolor.1 | awk '/^<body>$/{ start = 1; next; } /^<\/body>$/{start = 0} (start == 1){ print $0 }')"
oldpage="$(fossil wiki export Manual)"

if [ "${oldpage}" != "${newpage}" ]; then
	echo "${newpage}" | fossil wiki commit Manual

	fossil sync
fi