Hi folks, new to clisp (just started today in fact).
Question...
How does one read standard input ie: my_script < file.in
So far I have:
Question...
How does one read standard input ie: my_script < file.in
So far I have:
#!/usr/bin/env clisp
# chmod +x my_script
(loop for line = (read-line stream nil :eof)
until (eq line :eof)
print line ))
(bye)