Thanks for processing the Ada word-frequency program. The error is in the command line. << COMMAND LINE (%A is single numeric argument): wordfreq.gnat_run %A >> The program does not accept any argument. (Unlike count-words, the code for end of line does not matter.) Thanks.