src: uniq: made input from stdin work