mirror of
https://github.com/janet-lang/janet
synced 2025-05-02 07:24:15 +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…
x
Reference in New Issue
Block a user