updated examples to use say

This commit is contained in:
Luxferre
2026-07-07 10:56:11 +03:00
parent b1cd35d0ca
commit 371b354bcb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
#!/usr/bin/env clyx #!/usr/bin/env clyx
_start [ "Hello from Clyx!" puts cr ] _start [ say "Hello from Clyx!" ]
+1 -1
View File
@@ -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