The 'd' command didn't simply tell sed to delete all incoming data in one fell swoop.
d'命令不是简单地告诉sed 一下子删除所有输入数据。
You'll also notice that we've replaced the 'd' command with the 'p' command, which as you might guess, explicitly commands sed to print the pattern space.
您还会注意到,我们用'p '命令替换了'd '命令,如您所猜想的那样,这明确要求sed打印模式空间。
In this example, we called sed with one editing command, 'd.
在该例中,用一个编辑命令'd '调用sed。
In this example, we called sed with one editing command, 'd.
在该例中,用一个编辑命令'd '调用sed。
应用推荐