aboutsummaryrefslogtreecommitdiffstats
path: root/awklib/eg/network/eliza.awk
diff options
context:
space:
mode:
Diffstat (limited to 'awklib/eg/network/eliza.awk')
-rw-r--r--awklib/eg/network/eliza.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/awklib/eg/network/eliza.awk b/awklib/eg/network/eliza.awk
index 15ee2c46..9b85ca95 100644
--- a/awklib/eg/network/eliza.awk
+++ b/awklib/eg/network/eliza.awk
@@ -22,7 +22,7 @@ function SetUpServer() {
function HandleGET() {
# A real HTTP server would treat some parts of the URI as a file name.
# We take parts of the URI as menu choices and go on accordingly.
- if(MENU[2] == "AboutServer") {
+ if (MENU[2] == "AboutServer") {
Document = "This is not a CGI script.\
This is an httpd, an HTML file, and a CGI script all \
in one GAWK script. It needs no separate www-server, \
@@ -54,7 +54,7 @@ function ElizaSays(YouSay) {
} else {
q = toupper(YouSay)
gsub("'", "", q)
- if(q == qold) {
+ if (q == qold) {
answer = "PLEASE DONT REPEAT YOURSELF !"
} else {
if (index(q, "SHUT UP") > 0) {