mirror of
https://github.com/janet-lang/janet
synced 2024-06-13 17:06:49 +00:00
Add line loop example for awk or sed like processing.
This commit is contained in:
parent
c59dd29190
commit
1f7f20788c
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))
|
Loading…
Reference in New Issue
Block a user