Added some documentation to some ./examples/*.fun scripts.
This commit is contained in:
parent
aaa2094b47
commit
84ef262588
16 changed files with 151 additions and 13 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue