From d02932e4663169b49ef438c6b6e17e19b6144e28 Mon Sep 17 00:00:00 2001 From: Xingyu Wang Date: Thu, 7 Jan 2021 00:24:00 +0800 Subject: [PATCH] PUB @wxy https://linux.cn/article-12992-1.html --- .../20201222 Learn to use the Sed text editor.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename {translated/tech => published}/20201222 Learn to use the Sed text editor.md (98%) diff --git a/translated/tech/20201222 Learn to use the Sed text editor.md b/published/20201222 Learn to use the Sed text editor.md similarity index 98% rename from translated/tech/20201222 Learn to use the Sed text editor.md rename to published/20201222 Learn to use the Sed text editor.md index de7471de9a..a24b3d2858 100644 --- a/translated/tech/20201222 Learn to use the Sed text editor.md +++ b/published/20201222 Learn to use the Sed text editor.md @@ -1,8 +1,8 @@ [#]: collector: (lujun9972) [#]: translator: (wxy) [#]: reviewer: (wxy) -[#]: publisher: ( ) -[#]: url: ( ) +[#]: publisher: (wxy) +[#]: url: (https://linux.cn/article-12992-1.html) [#]: subject: (Learn to use the Sed text editor) [#]: via: (https://opensource.com/article/20/12/sed) [#]: author: (Seth Kenlon https://opensource.com/users/seth) @@ -12,7 +12,7 @@ > Sed 缺少通常的文本框,而是按照用户的命令直接写入到文件上。 -![命令行提示][1] +![](https://img.linux.net.cn/data/attachment/album/202101/07/002353st8vgivu78yzp77v.jpg) `sed` 命令是为 AT&T 最初的 Unix 操作系统第 7 版创建的,此后,可能每一个 Unix 和 Linux 操作系统都包含了它。`sed` 应用程序是一个 _流编辑器_,与文本编辑器不同的是,它不会打开一个视觉缓冲区,将文件的数据加载到其中进行处理。相反,它根据在终端输入的命令或脚本中的一系列命令,逐行对文件进行操作。