Added .inputrc and modified genfiles.sh

.inputrc contains readline customizations that are
useful to keep around.

genfiles.sh was updated to have a function to process
the files in the $INPUTS variable based on the command
in the $PCMD variable.