place IMO and I've filed github issue for it -
Another similar program using Scanf seems to work fine,
$ go run 2.go < input
$ hexdump input
0000000 31 0a 32 0a
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
For more options, visit https://groups.google.com/d/optout.