From Surf Wiki (app.surf) — the open knowledge base
Line (text file)
Subdivision of a text file
Subdivision of a text file
In computing, a line is a unit of organization for text files. A line consists of a sequence of zero or more characters, usually displayed within a single horizontal sequence.
The term comes directly from physical printing, where a line of text is a horizontal row of characters.
Depending on the file system or operating system being used the number of characters on a line may either be predetermined or fixed, or the length may vary from line to line. Fixed-length lines are sometimes called records. With variable-length lines, the end of each line is usually indicated by the presence of one or more special end-of-line characters. These include line feed, carriage return, or combinations thereof.
A blank line usually refers to a line containing zero characters (not counting any end-of-line characters); though it may also refer to any line that does not contain any visible characters (consisting only of whitespace).
Some tools that operate on text files (e.g., editors) provide a mechanism to reference lines by their line number.
References
References
- Duckett, Chris. (2018-05-09). "Windows Notepad finally understands everyone else's end of line characters". [[ZDNet]].
This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.
Ask Mako anything about Line (text file) — get instant answers, deeper analysis, and related topics.
Research with MakoFree with your Surf account
Create a free account to save articles, ask Mako questions, and organize your research.
Sign up freeThis content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.
Report