Commit cab53c89 authored by Andrew Gerrand's avatar Andrew Gerrand

doc: fix tutorial and Makefile PATH without dot

Fixes #2351.

R=r, bradfitz
CC=golang-dev
https://golang.org/cl/5235056
parent d3eefb8c
......@@ -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
......@@ -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
$
......
......@@ -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
$
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment