]> Cypherpunks repositories - gostls13.git/commit
cmd/go: suppress extraneous newlines in list
authorAnthony Martin <ality@pbrane.org>
Tue, 22 Jan 2013 22:05:13 +0000 (17:05 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 22 Jan 2013 22:05:13 +0000 (17:05 -0500)
commite6e60cda12701ad3f1f4419606ddead52e57f2f1
tree9b045887b1d1c1dd38f9abe6133e0e85cd13f6c8
parenta1231839b531b15e9745e92fe2396456029729a1
cmd/go: suppress extraneous newlines in list

Before:
$ go list -f '{{range .Deps}}{{println $.Name .}}{{end}}' math time
math runtime
math unsafe

time errors
time runtime
time sync
time sync/atomic
time syscall
time unsafe

$

After:
$ go list -f '{{range .Deps}}{{println $.Name .}}{{end}}' math time
math runtime
math unsafe
time errors
time runtime
time sync
time sync/atomic
time syscall
time unsafe
$

R=minux.ma, rsc
CC=golang-dev
https://golang.org/cl/7130052
src/cmd/go/list.go