place IMO and I've filed github issue for it -
https://github.com/golang/go/issues/10853),
http://play.golang.org/p/_MVeoI7wif
Another similar program using Scanf seems to work fine,
http://play.golang.org/p/rrBjFXuC0a
$ go run 2.go < input
$ hexdump input
0000000 31 0a 32 0a
0000004
--
Regards,
Aamir
--
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 protected].
For more options, visit https://groups.google.com/d/optout.