1
0
mirror of https://github.com/golang/go synced 2024-11-21 23:04:39 -07:00

doc: fix tutorial and Makefile PATH without dot

Fixes #2351.

R=r, bradfitz
CC=golang-dev
https://golang.org/cl/5235056
This commit is contained in:
Andrew Gerrand 2011-10-10 11:16:04 +11:00
parent d3eefb8cf3
commit cab53c899c
3 changed files with 6 additions and 7 deletions

View File

@ -9,10 +9,9 @@ GOFILES=\
tmpltohtml.go\
go_tutorial.html: go_tutorial.tmpl tmpltohtml
makehtml go_tutorial.tmpl
./makehtml go_tutorial.tmpl
effective_go.html: effective_go.tmpl tmpltohtml
makehtml effective_go.tmpl
./makehtml effective_go.tmpl
include ../src/Make.cmd

View File

@ -104,7 +104,7 @@ With <code>gccgo</code> it looks a little more traditional.
<p>
<pre>
$ gccgo helloworld.go
$ a.out
$ ./a.out
Hello, world; or Καλημέρα κόσμε; or こんにちは 世界
$
</pre>
@ -706,7 +706,7 @@ Now we can compile and run the program. On Unix, this would be the result:
$ 6g file.go # compile file package
$ 6g helloworld3.go # compile main package
$ 6l -o helloworld3 helloworld3.6 # link - no need to mention "file"
$ helloworld3
$ ./helloworld3
hello, world
can't open file; err=No such file or directory
$

View File

@ -96,7 +96,7 @@ With <code>gccgo</code> it looks a little more traditional.
<p>
<pre>
$ gccgo helloworld.go
$ a.out
$ ./a.out
Hello, world; or Καλημέρα κόσμε; or こんにちは 世界
$
</pre>
@ -547,7 +547,7 @@ Now we can compile and run the program. On Unix, this would be the result:
$ 6g file.go # compile file package
$ 6g helloworld3.go # compile main package
$ 6l -o helloworld3 helloworld3.6 # link - no need to mention "file"
$ helloworld3
$ ./helloworld3
hello, world
can't open file; err=No such file or directory
$