+# This awful single-use script expands out a description of a
+# two-state cellular automaton in Golly table format (such as Conway's
+# Life) into an equivalent rule table that collapses the 32 "Bedstead"
+# states (16 on, 16 off) into the 2 automaton states while applying
+# the same rule.
+# It's slightly complicated because it's designed to work with
+# the output of Golly make-ruletable.cpp, which is somewhat optimised
+# using variables, but this script makes no attempt to optimise its
+# output. It uses poorly-named variables to do a lot of its work.
+
+# This file is part of Bedbugs.
+# Copyright (C) 2014 Jacob Nevins.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.