summaryrefslogtreecommitdiff
path: root/html5_events/archive_gen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'html5_events/archive_gen.sh')
-rw-r--r--html5_events/archive_gen.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/html5_events/archive_gen.sh b/html5_events/archive_gen.sh
new file mode 100644
index 0000000..2f34722
--- /dev/null
+++ b/html5_events/archive_gen.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+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." \ No newline at end of file