fbpx
Wikipedia

Line (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.[1]

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.

See also edit

References edit

  1. ^ Duckett, Chris (May 9, 2018). "Windows Notepad finally understands everyone else's end of line characters". ZDNet. from the original on May 13, 2018. Retrieved February 10, 2023.

line, text, file, this, article, needs, additional, citations, verification, please, help, improve, this, article, adding, citations, reliable, sources, unsourced, material, challenged, removed, find, sources, line, text, file, news, newspapers, books, scholar. This article needs additional citations for verification Please help improve this article by adding citations to reliable sources Unsourced material may be challenged and removed Find sources Line text file news newspapers books scholar JSTOR February 2024 Learn how and when to remove this message 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 1 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 See also editNewline Line wrap and word wrap Line oriented programming language programming languages that interpret the end of line to be the end of an instruction or statementReferences edit Duckett Chris May 9 2018 Windows Notepad finally understands everyone else s end of line characters ZDNet Archived from the original on May 13 2018 Retrieved February 10 2023 Retrieved from https en wikipedia org w index php title Line text file amp oldid 1205667007, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.