join - hosts.txt # and type/paste in the input ./some_program | join - hosts.txt # pipe the input in