V2EX  ›  英汉词典
Enqueued related words: Carriage Return, Line Break

Linefeed

释义 Definition

linefeed(LF):指“换行/行进符”,是一种控制字符,用来让文本光标移动到下一行。在不同系统中,换行可能用 LF(常见于 Unix/Linux、现代 macOS)或与 CR(carriage return,回车)组合成 CRLF(常见于 Windows)。该词也可指“换行符”本身或“执行换行”的动作。

发音 Pronunciation (IPA)

/ˈlaɪnˌfiːd/

例句 Examples

Please add a linefeed at the end of the header.
请在标题末尾加一个换行符。

The file looks fine on Linux, but the linefeeds break the formatting on Windows because it expects CRLF.
这个文件在 Linux 上看起来没问题,但在 Windows 上换行符会导致格式异常,因为它期望的是 CRLF。

词源 Etymology

linefeed 来自 line(行)+ feed(送料/推进)。早期打印机与电传打字机需要把纸张“推进”到下一行来继续打印,因而用“feed”形象地表示“送纸/推进一行”。后来该概念被编码到计算机字符集中,成为常见的控制字符 LF

相关词 Related Words

文学作品中的用例 Literary Works

  • The C Programming Language(Kernighan & Ritchie):讨论以 \n 表示换行(与 line feed 概念紧密相关)。
  • Unicode Standard(Unicode 联盟标准文本):涉及换行控制字符(包括 LF)及其在不同平台/文本处理中的规则。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2192 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 15:28 · PVG 23:28 · LAX 07:28 · JFK 10:28
♥ Do have faith in what you're doing.