许多文本处理命令(过滤器)可以从标准输入流或从文件中获取输入。
Many text processing commands (filters) can take input either from the standard input stream or from a file.
可以将它们用作过滤器,或者将文件名作为命令的参数。
They can be used as filters, or they can take a filename as an argument.
由于tr是纯粹的过滤器,因此您将使用cat命令为其生成输入。
Since tr is purely a filter, you generate input for it using the cat command.
如同我们目前已经了解的许多文本命令一样,seb可以充当一个过滤器,或者从文件中获取其输入。
As with many of the text commands we have looked at so far, sed can work as a filter or take its input from a file.
现在,我们具备了一些基本的工具来实现管道和重定向,让我们研究一些常见的UNIX和Linux文本处理命令和过滤器。
Now that we have a couple of basic tools for pipelining and redirection, let's look at some of the common UNIX and Linux text processing commands and filters.
要将命令command1的输出作为过滤器command2的输入,您需要使用管道操作符(|)连接两个命令。
In order to use the output of a command, command1, as input to a filter, command2, you connect the commands using the pipe operator (|).
在本文中,我们将使用“学习Linux, 101:文本流和过滤器”一文中创建的文件来练习命令。
In this article, we will practice the commands using the files created in the article "Learn Linux 101: Text streams and filters."
WebSphereApplicationServerInformationCenter记录了一些交互式命令和过滤器,用于获取关于正在运行的应用程序的信息。
The WebSphere application Server information Center documents the interactive commands and filters you can use to get more information about running applications.
命令行日志过滤器检查。
如果您有要求来自stdin的输出的过滤器,那么可以考虑使用cat命令将文件复制到 stdout。
If you do have a filter that requires input from stdin, you might think of using the cat command to copy the file to stdout, which would work.
在本文中,我们将使用文章“学习Linux, 101:文本流和过滤器”中建立的文件练习命令。
In this article, we will practice the commands using some of the files created in the article "Learn Linux 101: Text streams and filters."
这个命令经常结合管道和过滤器来一起使用的。
It is often used with pipes and filters. Here are a couple of examples.
分发名单在命令只能在过滤器的路线进入路由表,但它并不妨碍链接国家包被宣扬。
The distribute-list in command only filters routes from entering the routing table, but it doesn't prevent link-state packets from being propagated.
分发名单在命令只能在过滤器的路线进入路由表,但它并不妨碍链接国家包被宣扬。
The distribute-list in command only filters routes from entering the routing table, but it doesn't prevent link-state packets from being propagated.
应用推荐