2018-08-18 03:38:39 -06:00
|
|
|
#!/bin/bash
|
2021-06-18 16:21:23 -06:00
|
|
|
|
2024-10-18 00:41:59 -06:00
|
|
|
# Copyright (C) 2005-2024 Giorgio Maone <https://maone.net>
|
2021-06-18 16:21:23 -06:00
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2018-08-18 03:38:39 -06:00
|
|
|
ARCHIVE=html5_events_archive.txt
|
|
|
|
if [ -f "$ARCHIVE" ]; then
|
|
|
|
echo >&2 "$ARCHIVE already exists!"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
cat historical/*_events.txt | sort | uniq | egrep -v '^only$' > "$ARCHIVE"
|
|
|
|
echo "$ARCHIVE generated."
|