summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-11-09 11:45:15 -0800
committerRuss Cox <rsc@golang.org>2009-11-09 11:45:15 -0800
commitea343ae74831e68d74477c52871822f971684741 (patch)
treecc60401678ba31d52413cd3d843df2924cfda190
parent72ac6a9046219af975cd7865067ecd95678a4f08 (diff)
downloadgo-ea343ae74831e68d74477c52871822f971684741.tar.gz
tweak documentation of commands
so that first sentence is better for cmd page. live at http://r45:3456/cmd/ R=gri, r http://go/go-review/1024034
-rw-r--r--src/cmd/5a/doc.go2
-rw-r--r--src/cmd/5c/doc.go2
-rw-r--r--src/cmd/5g/doc.go4
-rw-r--r--src/cmd/5l/doc.go2
-rw-r--r--src/cmd/6a/doc.go2
-rw-r--r--src/cmd/6c/doc.go2
-rw-r--r--src/cmd/6g/doc.go4
-rw-r--r--src/cmd/6l/doc.go2
-rw-r--r--src/cmd/8a/doc.go2
-rw-r--r--src/cmd/8c/doc.go2
-rw-r--r--src/cmd/8g/doc.go4
-rw-r--r--src/cmd/8l/doc.go2
-rw-r--r--src/cmd/cc/doc.go4
-rw-r--r--src/cmd/ebnflint/doc.go4
-rw-r--r--src/cmd/gc/doc.go2
-rw-r--r--src/cmd/godoc/doc.go2
-rw-r--r--src/cmd/gofmt/doc.go2
-rw-r--r--src/cmd/gopack/doc.go2
-rw-r--r--src/cmd/gotest/doc.go2
-rw-r--r--src/cmd/goyacc/doc.go4
-rw-r--r--src/cmd/hgpatch/doc.go9
-rw-r--r--src/cmd/ld/doc.go4
-rw-r--r--src/cmd/nm/doc.go2
23 files changed, 33 insertions, 34 deletions
diff --git a/src/cmd/5a/doc.go b/src/cmd/5a/doc.go
index 91a86e995..a0d2c4c64 100644
--- a/src/cmd/5a/doc.go
+++ b/src/cmd/5a/doc.go
@@ -4,7 +4,7 @@
/*
-5a is a version of the Plan 9 assembler documented at
+5a is a version of the Plan 9 assembler. The original is documented at
http://plan9.bell-labs.com/magic/man2html/1/2a
diff --git a/src/cmd/5c/doc.go b/src/cmd/5c/doc.go
index f1b3fa152..0874293bf 100644
--- a/src/cmd/5c/doc.go
+++ b/src/cmd/5c/doc.go
@@ -4,7 +4,7 @@
/*
-5c is a version of the Plan 9 C compiler documented at
+5c is a version of the Plan 9 C compiler. The original is documented at
http://plan9.bell-labs.com/magic/man2html/1/2c
diff --git a/src/cmd/5g/doc.go b/src/cmd/5g/doc.go
index e45e35568..e86013bdd 100644
--- a/src/cmd/5g/doc.go
+++ b/src/cmd/5g/doc.go
@@ -4,8 +4,8 @@
/*
-5g is the version of the gc compiler for the ARM,
-referred to by these tools as arm.
+5g is the version of the gc compiler for the ARM.
+The $GOARCH for these tools is arm.
It reads .go files and outputs .5 files. The flags are documented in ../gc/doc.go.
diff --git a/src/cmd/5l/doc.go b/src/cmd/5l/doc.go
index 495f6fa29..be1fddd70 100644
--- a/src/cmd/5l/doc.go
+++ b/src/cmd/5l/doc.go
@@ -4,7 +4,7 @@
/*
-5l is a modified version of the Plan 9 linker documented at
+5l is a modified version of the Plan 9 linker. The original is documented at
http://plan9.bell-labs.com/magic/man2html/1/2l
diff --git a/src/cmd/6a/doc.go b/src/cmd/6a/doc.go
index 4f372aa65..92fb74de6 100644
--- a/src/cmd/6a/doc.go
+++ b/src/cmd/6a/doc.go
@@ -4,7 +4,7 @@
/*
-6a is a version of the Plan 9 assembler documented at
+6a is a version of the Plan 9 assembler. The original is documented at
http://plan9.bell-labs.com/magic/man2html/1/2a
diff --git a/src/cmd/6c/doc.go b/src/cmd/6c/doc.go
index b71aad98e..249a8ed80 100644
--- a/src/cmd/6c/doc.go
+++ b/src/cmd/6c/doc.go
@@ -4,7 +4,7 @@
/*
-6c is a version of the Plan 9 C compiler documented at
+6c is a version of the Plan 9 C compiler. The original is documented at
http://plan9.bell-labs.com/magic/man2html/1/2c
diff --git a/src/cmd/6g/doc.go b/src/cmd/6g/doc.go
index e4964dbd0..64f1d2ba9 100644
--- a/src/cmd/6g/doc.go
+++ b/src/cmd/6g/doc.go
@@ -4,8 +4,8 @@
/*
-6g is the version of the gc compiler for the x86-64,
-referred to by these tools as amd64.
+6g is the version of the gc compiler for the x86-64.
+The $GOARCH for these tools is amd64.
It reads .go files and outputs .6 files. The flags are documented in ../gc/doc.go.
diff --git a/src/cmd/6l/doc.go b/src/cmd/6l/doc.go
index 2cbadda4d..6a0a735c8 100644
--- a/src/cmd/6l/doc.go
+++ b/src/cmd/6l/doc.go
@@ -4,7 +4,7 @@
/*
-6l is a modified version of the Plan 9 linker documented at
+6l is a modified version of the Plan 9 linker. The original is documented at
http://plan9.bell-labs.com/magic/man2html/1/2l
diff --git a/src/cmd/8a/doc.go b/src/cmd/8a/doc.go
index f9970e639..a43b4461f 100644
--- a/src/cmd/8a/doc.go
+++ b/src/cmd/8a/doc.go
@@ -4,7 +4,7 @@
/*
-8a is a version of the Plan 9 assembler documented at
+8a is a version of the Plan 9 assembler. The original is documented at
http://plan9.bell-labs.com/magic/man2html/1/2a
diff --git a/src/cmd/8c/doc.go b/src/cmd/8c/doc.go
index c16ae4e89..e3aae857f 100644
--- a/src/cmd/8c/doc.go
+++ b/src/cmd/8c/doc.go
@@ -4,7 +4,7 @@
/*
-8c is a version of the Plan 9 C compiler documented at
+8c is a version of the Plan 9 C compiler. The original is documented at
http://plan9.bell-labs.com/magic/man2html/1/2c
diff --git a/src/cmd/8g/doc.go b/src/cmd/8g/doc.go
index 5b522fd14..2d9ff9a42 100644
--- a/src/cmd/8g/doc.go
+++ b/src/cmd/8g/doc.go
@@ -4,8 +4,8 @@
/*
-8g is the version of the gc compiler for the x86,
-referred to by these tools for historical reasons as 386.
+8g is the version of the gc compiler for the x86.
+The $GOARCH for these tools is 386.
It reads .go files and outputs .8 files. The flags are documented in ../gc/doc.go.
diff --git a/src/cmd/8l/doc.go b/src/cmd/8l/doc.go
index 79cb83c1f..0de4dfc1b 100644
--- a/src/cmd/8l/doc.go
+++ b/src/cmd/8l/doc.go
@@ -4,7 +4,7 @@
/*
-8l is a modified version of the Plan 9 linker documented at
+8l is a modified version of the Plan 9 linker. The original is documented at
http://plan9.bell-labs.com/magic/man2html/1/2l
diff --git a/src/cmd/cc/doc.go b/src/cmd/cc/doc.go
index c92449591..51aa8b192 100644
--- a/src/cmd/cc/doc.go
+++ b/src/cmd/cc/doc.go
@@ -4,8 +4,8 @@
/*
-This directory contains the portable section of the Plan 9 C compilers as
-represented here. See ../6c, ../8c, and ../5c for more information.
+This directory contains the portable section of the Plan 9 C compilers.
+See ../6c, ../8c, and ../5c for more information.
*/
package documentation
diff --git a/src/cmd/ebnflint/doc.go b/src/cmd/ebnflint/doc.go
index d395a3468..f35976eea 100644
--- a/src/cmd/ebnflint/doc.go
+++ b/src/cmd/ebnflint/doc.go
@@ -4,8 +4,8 @@
/*
-The ebnflint program verifies that EBNF productions in an HTML document
-such as the Go specification document are consistent and grammatically correct.
+Ebnflint verifies that EBNF productions are consistent and gramatically correct.
+It reads them from an HTML document such as the Go specification.
Grammar productions are grouped in boxes demarcated by the HTML elements
<pre class="ebnf">
diff --git a/src/cmd/gc/doc.go b/src/cmd/gc/doc.go
index f23113290..5250cfcbe 100644
--- a/src/cmd/gc/doc.go
+++ b/src/cmd/gc/doc.go
@@ -4,7 +4,7 @@
/*
-The name gc is the generic label given to the family of Go compilers
+Gc is the generic label for the family of Go compilers
that function as part of the (modified) Plan 9 tool chain. The C compiler
documentation at
diff --git a/src/cmd/godoc/doc.go b/src/cmd/godoc/doc.go
index a116e321f..0831035e1 100644
--- a/src/cmd/godoc/doc.go
+++ b/src/cmd/godoc/doc.go
@@ -4,7 +4,7 @@
/*
-The godoc program extracts and generates documentation for Go programs.
+Godoc extracts and generates documentation for Go programs.
It has two modes.
diff --git a/src/cmd/gofmt/doc.go b/src/cmd/gofmt/doc.go
index a374add4a..5851fe2d9 100644
--- a/src/cmd/gofmt/doc.go
+++ b/src/cmd/gofmt/doc.go
@@ -4,7 +4,7 @@
/*
-The gofmt program is a formatter for Go programs.
+Gofmt formats Go programs.
Without an explicit path, it processes the standard input. Given a file,
it operates on that file; given a directory, it operates on all .go files in
diff --git a/src/cmd/gopack/doc.go b/src/cmd/gopack/doc.go
index 241784dc3..0d5ccdb6c 100644
--- a/src/cmd/gopack/doc.go
+++ b/src/cmd/gopack/doc.go
@@ -4,7 +4,7 @@
/*
-The gopack program is a variant of the Plan 9 ar tool documented at
+Gopack program is a variant of the Plan 9 ar tool. The original is documented at
http://plan9.bell-labs.com/magic/man2html/1/ar
diff --git a/src/cmd/gotest/doc.go b/src/cmd/gotest/doc.go
index 43119141d..e1a87c43c 100644
--- a/src/cmd/gotest/doc.go
+++ b/src/cmd/gotest/doc.go
@@ -4,7 +4,7 @@
/*
-The gotest program is an automated testing tool for Go packages.
+Gotest is an automated testing tool for Go packages.
Normally a Go package is compiled without its test files. Gotest
is a simple script that recompiles the package along with any files
diff --git a/src/cmd/goyacc/doc.go b/src/cmd/goyacc/doc.go
index ea5813ebc..a3cf07533 100644
--- a/src/cmd/goyacc/doc.go
+++ b/src/cmd/goyacc/doc.go
@@ -4,8 +4,8 @@
/*
-The program goyacc is a version of yacc written in Go and generating
-as output a parser also in Go.
+Goyacc is a version of yacc for Go.
+It is written in Go and generates parsers written in Go.
It is largely transliterated from the Inferno version written in Limbo
which in turn was largely transliterated from the Plan 9 version
diff --git a/src/cmd/hgpatch/doc.go b/src/cmd/hgpatch/doc.go
index 5d7674acf..a3d069fae 100644
--- a/src/cmd/hgpatch/doc.go
+++ b/src/cmd/hgpatch/doc.go
@@ -4,11 +4,10 @@
/*
-Hgpatch reads a patch, which should have been generated by
-a version control system like CVS, GIT, Mercurial, or Subversion,
-from a file (or standard input) and applies that patch to the local
-Mercurial repository. If successful, it writes a list of affected
-files to standard output.
+Hgpatch applies a patch to the local Mercurial repository.
+The patch should have been been generated by
+a version control system like CVS, GIT, Mercurial, or Subversion.
+If successful, hgpatch writes a list of affected files to standard output.
Hgpatch is meant to be used by the Mercurial codereview extension.
diff --git a/src/cmd/ld/doc.go b/src/cmd/ld/doc.go
index efdba719f..972e2a32c 100644
--- a/src/cmd/ld/doc.go
+++ b/src/cmd/ld/doc.go
@@ -4,8 +4,8 @@
/*
-This directory contains the portable section of the Plan 9 C linkers as
-represented here. See ../6l, ../8l, and ../5l for more information.
+This directory contains the portable section of the Plan 9 C linkers.
+See ../6l, ../8l, and ../5l for more information.
*/
package documentation
diff --git a/src/cmd/nm/doc.go b/src/cmd/nm/doc.go
index 60f08f568..84a91792f 100644
--- a/src/cmd/nm/doc.go
+++ b/src/cmd/nm/doc.go
@@ -4,7 +4,7 @@
/*
-This nm is a version of the Plan 9 nm command documented at
+Nm is a version of the Plan 9 nm command. The original is documented at
http://plan9.bell-labs.com/magic/man2html/1/nm