diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-02-13 19:59:16 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-02-13 19:59:16 +0200 |
commit | bc83948e5d2213e552d6bec64d021fe9c7bb57b5 (patch) | |
tree | d926652b4ce36d3b220b2459a26e75440111bcf2 /doc/gawkinet.info | |
parent | c160d41490f752f55312f2de91cdd94cc9270141 (diff) | |
download | egawk-bc83948e5d2213e552d6bec64d021fe9c7bb57b5.tar.gz egawk-bc83948e5d2213e552d6bec64d021fe9c7bb57b5.tar.bz2 egawk-bc83948e5d2213e552d6bec64d021fe9c7bb57b5.zip |
Minor doc fixes.
Diffstat (limited to 'doc/gawkinet.info')
-rw-r--r-- | doc/gawkinet.info | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/doc/gawkinet.info b/doc/gawkinet.info index 66f8a862..0a0d69d8 100644 --- a/doc/gawkinet.info +++ b/doc/gawkinet.info @@ -782,7 +782,7 @@ a look at your `/etc/services' file. It could look like this: # # Network services, Internet style # - # Name Number/Protcol Alternate name # Comments + # Name Number/Protocol Alternate name # Comments echo 7/tcp echo 7/udp @@ -2656,12 +2656,12 @@ has been initialized so that each element represents a wall element and the maze is initially full of wall elements. Only the entrance and the exit of the maze should have been left free. The parameters of the function tell us which element must be marked as not being a wall. -After this, we take a look at the four neighbouring elements and -remember which we have already treated. Of all the neighbouring +After this, we take a look at the four neighboring elements and +remember which we have already treated. Of all the neighboring elements, we take one at random and walk in that direction. Therefore, the wall element in that direction has to be removed and then, we call the function recursively for that element. The maze is only completed -if we iterate the above procedure for _all_ neighbouring elements (in +if we iterate the above procedure for _all_ neighboring elements (in random order) and for our present element by recursively calling the function for the present element. This last iteration could have been done in a loop, but it is done much simpler recursively. @@ -2678,7 +2678,7 @@ other elements are potentially part of the wall. if (x SUBSEP y-2 in Maze) d[p++] = "-y" if (x+2 SUBSEP y in Maze) d[p++] = "+x" if (x SUBSEP y+2 in Maze) d[p++] = "+y" - if (p>0) { # if there are univisited fields, go there + if (p>0) { # if there are unvisited fields, go there p = int(p*rand()) # choose one unvisited field at random if (d[p] == "-x") { delete Maze[x - 1, y]; MakeMaze(x - 2, y) } else if (d[p] == "-y") { delete Maze[x, y - 1]; MakeMaze(x, y - 2) @@ -3424,10 +3424,10 @@ the description is arbitrary. following 10 lines of code into a file named `protbase.awk' and use this client instead. Invoke it with `gawk -f protbase.awk protbase.request'. Then wait a minute and watch the result coming in. -In order to replicate the demonstration client's behaviour as closely -as possible, this client does not use a proxy server. We could also -have extended the client program in *note Retrieving Web Pages: GETURL, -to implement the client request from `protbase.awk' as a special case. +In order to replicate the demonstration client's behavior as closely as +possible, this client does not use a proxy server. We could also have +extended the client program in *note Retrieving Web Pages: GETURL, to +implement the client request from `protbase.awk' as a special case. { request = request "\n" $0 } @@ -4363,35 +4363,35 @@ Node: File /inet/tcp27820 Node: File /inet/udp28846 Node: TCP Connecting29944 Node: Troubleshooting32282 -Ref: Troubleshooting-Footnote-135333 -Node: Interacting35902 -Node: Setting Up38632 -Node: Email42126 -Node: Web page44452 -Ref: Web page-Footnote-147257 -Node: Primitive Service47454 -Node: Interacting Service50188 -Ref: Interacting Service-Footnote-159317 -Node: CGI Lib59349 -Node: Simple Server66310 -Ref: Simple Server-Footnote-174033 -Node: Caveats74134 -Node: Challenges75277 -Node: Some Applications and Techniques83956 -Node: PANIC86413 -Node: GETURL88131 -Node: REMCONF90754 -Node: URLCHK96230 -Node: WEBGRAB100065 -Node: STATIST104515 -Ref: STATIST-Footnote-1116223 -Node: MAZE116668 -Node: MOBAGWHO122856 -Ref: MOBAGWHO-Footnote-1136800 -Node: STOXPRED136855 -Node: PROTBASE151110 -Node: Links164192 -Node: GNU Free Documentation License167626 -Node: Index192765 +Ref: Troubleshooting-Footnote-135334 +Node: Interacting35903 +Node: Setting Up38633 +Node: Email42127 +Node: Web page44453 +Ref: Web page-Footnote-147258 +Node: Primitive Service47455 +Node: Interacting Service50189 +Ref: Interacting Service-Footnote-159318 +Node: CGI Lib59350 +Node: Simple Server66311 +Ref: Simple Server-Footnote-174034 +Node: Caveats74135 +Node: Challenges75278 +Node: Some Applications and Techniques83957 +Node: PANIC86414 +Node: GETURL88132 +Node: REMCONF90755 +Node: URLCHK96231 +Node: WEBGRAB100066 +Node: STATIST104516 +Ref: STATIST-Footnote-1116224 +Node: MAZE116669 +Node: MOBAGWHO122853 +Ref: MOBAGWHO-Footnote-1136797 +Node: STOXPRED136852 +Node: PROTBASE151107 +Node: Links164188 +Node: GNU Free Documentation License167622 +Node: Index192761 End Tag Table |