updated examples to use say
This commit is contained in:
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
#!/usr/bin/env clyx
|
#!/usr/bin/env clyx
|
||||||
_start [ "Hello from Clyx!" puts cr ]
|
_start [ say "Hello from Clyx!" ]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env clyx
|
#!/usr/bin/env clyx
|
||||||
_start [
|
_start [
|
||||||
"Listening on port 1337..." puts cr
|
say "Listening on port 1337..."
|
||||||
1337 nlstn # listen on port 1337
|
1337 nlstn # listen on port 1337
|
||||||
1 while [ # outer connection accept loop
|
1 while [ # outer connection accept loop
|
||||||
dup read # accept a new connection -> conn_fd
|
dup read # accept a new connection -> conn_fd
|
||||||
|
|||||||
Reference in New Issue
Block a user