aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-Text.by_line.3
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-19 14:48:17 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-19 14:48:17 -0400
commit1663004ff08de9d90338cb3c04bbf45e61477d6b (patch)
tree36f8bdd60f976537c8582769881193169fca1827 /man/man3/tomo-Text.by_line.3
parent67fd3c725e6511adf70345f0733ec0b948477a11 (diff)
Minor formatting fixes
Diffstat (limited to 'man/man3/tomo-Text.by_line.3')
-rw-r--r--man/man3/tomo-Text.by_line.39
1 files changed, 6 insertions, 3 deletions
diff --git a/man/man3/tomo-Text.by_line.3 b/man/man3/tomo-Text.by_line.3
index a5066e66..18786393 100644
--- a/man/man3/tomo-Text.by_line.3
+++ b/man/man3/tomo-Text.by_line.3
@@ -2,7 +2,7 @@
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
-.TH Text.by_line 3 2025-04-19T14:30:40.367111 "Tomo man-pages"
+.TH Text.by_line 3 2025-04-19T14:48:15.716808 "Tomo man-pages"
.SH NAME
Text.by_line \- Returns an iterator function that can be used to iterate over the lines in a text.
@@ -10,7 +10,7 @@ Text.by_line \- Returns an iterator function that can be used to iterate over th
Tomo Standard Library
.SH SYNOPSIS
.nf
-.BI "Text.by_line : func(text: Text -> func(->Text?))"
+.BI Text.by_line\ :\ func(text:\ Text\ ->\ func(->Text?))
.fi
.SH DESCRIPTION
@@ -25,7 +25,10 @@ Name Type Description Default
text Text The text to be iterated over, line by line. -
.TE
.SH RETURN
-An iterator function that returns one line at a time, until it runs out and returns `none`. **Note:** this function ignores a trailing newline if there is one. If you don't want this behavior, use `text.by_split($/{1 nl}/)` instead.
+An iterator function that returns one line at a time, until it runs out and returns `none`.
+
+.SH NOTES
+This function ignores a trailing newline if there is one. If you don't want this behavior, use `text.by_split($/{1 nl}/)` instead.
.SH EXAMPLES
.EX