(35 lines)
1 '\" t2 .\" Copyright (c) 2025 Bruce Hill3 .\" All rights reserved.4 .\"5 .TH Path.lines 3 2025-11-29 "Tomo man-pages"6 .SH NAME7 Path.lines \- return the lines in a file8 .SH LIBRARY9 Tomo Standard Library10 .SH SYNOPSIS11 .nf12 .BI Path.lines\ :\ func(path:\ Path\ ->\ [Text]?)13 .fi14 .SH DESCRIPTION15 Returns a list with the lines of text in a file or returns none if the file could not be opened.18 .SH ARGUMENTS20 .TS21 allbox;22 lb lb lbx23 l l l.24 Name Type Description25 path Path The path of the file.26 .TE27 .SH RETURN28 A list of the lines in a file or none if the file couldn't be read.30 .SH EXAMPLES31 .EX32 lines := (./file.txt).lines()!33 .EE34 .SH SEE ALSO35 .BR Tomo-Path (3)