V2EX  ›  英汉词典

Sed

释义 Definition

sed:一种常见的 Unix/Linux 命令行工具,名称来自 stream editor(流编辑器),用于对文本流进行按行处理与自动化编辑(如查找替换、删除、插入、打印特定行等)。在脚本与管道(pipeline)中非常常用。

发音 Pronunciation (IPA)

/sɛd/

例句 Examples

Sed replaces text in a file automatically.
sed 会自动替换文件中的文本。

Using sed with regular expressions, she cleaned thousands of log lines and extracted only the error messages for the report.
她使用 sed 搭配正则表达式,清理了成千上万行日志,并只提取错误信息用于报告。

词源 Etymology

sed 是 stream editor 的缩写形式。它起源于早期的 Unix 工具链,设计目标是让用户能在“数据流”通过时进行快速、可脚本化的文本编辑,而不必打开交互式编辑器。

相关词 Related Words

文学与著名作品 Notable Works

  • The UNIX Programming Environment(Brian W. Kernighan, Rob Pike)
  • UNIX Power Tools(Jerry Peek 等)
  • Classic Shell Scripting(Arnold Robbins, Nelson H. F. Beebe)
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3035 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 26ms · UTC 12:04 · PVG 20:04 · LAX 05:04 · JFK 08:04
♥ Do have faith in what you're doing.