This commit is contained in:
Mark McGranaghan 2012-10-09 16:13:13 -07:00
parent 3bc7f88fa0
commit 49c755bd2a

View File

@ -18,8 +18,6 @@ import "bytes"
import "os"
import "io"
var newline = []byte("\n")
func main() {
// Wrapping the unbuffered `os.Stdin` with a buffered
@ -54,7 +52,7 @@ func main() {
// Unless this read was for a prefix (not the full
// line), we need to add our own newline.
if !pfx {
out.Write(newline)
out.WriteString("\n")
}
}
}