Documentation ¶ Overview ¶ Dup2 prints the count and text of lines that appear more than once in the input. It reads from stdin or from a list of named files. Adapted from github.com/adonovan/gopl.io/tree/master/ch1/dup2. Level: beginner Topics: io, maps, bufio.Scanner Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.