mirror of
https://github.com/janet-lang/janet
synced 2025-08-30 09:28:03 +00:00
Add line loop example for awk or sed like processing.
This commit is contained in:
2
examples/lineloop.janet
Normal file
2
examples/lineloop.janet
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
(while (not (empty? (def line (getline))))
|
||||||
|
(prin "line: " line))
|
Reference in New Issue
Block a user