fsa_prefix reads lines from the input. Each line contains one word or nothing. The word is treated as a prefix. All words in the specified dictionaries that have the word as their prefix are printed.
If the word is empty, the whole contents of the dictionary is printed.