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
1 changed files with 2 additions and 0 deletions

2
examples/lineloop.janet Normal file
View File

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