inputlookup command

@salspaugh can you go over these tests for me?