Store each reference in the input file.

After the first blank line in the input file, the script enters input mode.
Then, each block of text, delimited by a blank line, denotes a reference.
Each reference is stored in an array.