1
0
Fork 0
forked from fun/fun

Added some documentation to some ./examples/*.fun scripts.

This commit is contained in:
Johannes Findeisen 2025-09-18 02:39:07 +02:00
commit 84ef262588
16 changed files with 151 additions and 13 deletions

View file

@ -9,6 +9,16 @@
* https://opensource.org/license/isc-license-txt
*/
/*
* Line-by-Line File Processing
*
* Shows techniques for:
* - Reading files line by line using `readline`
* - Conditional processing based on line content
* - Maintaining state between lines (e.g., counters)
* - Implementing custom file formatters
*/
print("=== Line-by-line print start ===")
string file = "/etc/passwd"