1
0
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:
Calvin Rose 2022-08-26 12:29:23 -05:00
parent c59dd29190
commit 1f7f20788c

2
examples/lineloop.janet Normal file
View File

@ -0,0 +1,2 @@
(while (not (empty? (def line (getline))))
(prin "line: " line))