summaryrefslogtreecommitdiff
path: root/html5_events/archive_gen.sh
blob: 2f34722add676055e0fa7c7f6f603ee54c28029d (plain)
1
2
3
4
5
6
7
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."