方法分别打开和关闭输入管道。
listen和close方法分别打开和关闭输入管道。
The listen and close methods open and close an input pipe, respectively.
更有用的是,您可以将文件复制到标准输出,然后可以使用管道从标准输入中提取这些文件,并将它们从一个地方复制到另一个地方。
Even more usefully, you can copy files into the standard output and, then using pipes, you can extract the files from the standard input and copy the files from one location to another.
只要您可以将其描述为输入、输出和转换过程,就都可以利用管道来对其进行操作。
As long as you can express it in terms of input, output, and transformation, your pipeline can manipulate it.
不过,您可以对第一个命令使用输入重定向,然后在剩余的管道下中导出该命令的输出,这是更加常见的解决方案。
However, you can use input redirection for the first command and then pipe that command's output through the rest of the pipeline for the more usual solution.
如果输入来自文件,那么过滤器管道中的第一个过滤器还具有额外的参数 ——文件名。
The first filter in a filter pipeline will also have an additional parameter, the filename, if the input comes from a file.
如果使用处理管道,那么关键就是建立管道输入和输出的契约,无论数据是否转义。
If you're using processing pipelines, then the key is in establishing contracts for pipeline inputs and outputs as to whether the data is escaped.
该特性可以重新叙述如下:不管程序的输入源(文件、管道或终端)和输出目的地是什么,程序都应该以同样的方式工作。
This can be restated as follows: the program should operate the same, irrespective of its source of input (a file, a pipe, or the terminal) and of its output destination.
UNIX用户十分熟悉管道的思想—即控制一个程序的输出以使它成为另一个程序的输入的机制。
UNIX users are very familiar with the idea of pipes — mechanisms that direct the output of one program so that it becomes the input for another.
管道逐渐将输入文档转换成输出。
Gradually, the pipe turns the input document into the output.
管道按次序把命令连接起来,前一个命令的输出作为后一个命令的输入。
The pipe chains commands in sequence, where the output of an earlier command becomes the input of a subsequent command.
从埃及通过地下管道和软管输送到加沙的汽油,其花费只有从约旦河西岸巴勒斯坦首府拉马拉输入的三分之一,拉马拉的汽油由以色列提供。
The petrol pumped into Gaza by underground pipes and hoses from Egypt costs a third of what it does in Ramallah, the Palestinians' West Bank capital, where Israel supplies it.
如名所示,命名管道工作起来与管道一样:你在一端输入数据,另一端输出同样的数据。
As the name suggests, a named pipe works like a pipe: you enter data in one end, and the same data comes out the other end.
管道是一个有向图,媒体在这个有向图中从输入流到输出。
A pipeline is a directed graph in which media flows in a defined direction from the input to the output.
它还安排一个管道,把主服务的标准输出作为日志进程的标准输入。
It also arranges for a pipe to carry the standard output from the main service to the log process's standard input.
模块输出到另一个模块输入之间的管道将模块联系起来。
Modules are connected to each other by attaching a pipe from the output of one module to the input of another module.
只需要输入相应的内容,包括管道(|)或重定向,您就可以创建即兴的数据处理器,从而实现比将其中的这些部分简单地加在一起更强大的功能。
With just a few keystrokes — including a pipe (|) or redirection — you can create an impromptu data processing machine more powerful than the sum of its parts.
第一个句子输出的结果作为第二个句子的输入,并由连接词(管道)连接这两个句子。
The first produces output; the second consumes it, and a conjunction — the pipe — connects the two.
既然这样,可以做一个管道将期望脚本的输出作为管道的输入。
In this case, we want to make a pipeline in which the input to the pipeline is the output of the desired script.
在命令行下使用:输入和输出,管道和流。
Working at the command line: input and output, pipes and streams.
从而使得石油公司积极主动地建造了很多的石油管道通往库欣:最近几个月以来,石油已经开始输入库欣纵横交错的储油设备中,而且同时还在不断建造新的储油设备。
This gave oil firms lots of incentive to build pipelines to Cushing: in recent months oil has poured into Cushing’s growing and labyrinthine storage facilities.
load工具也从指定的管道、设备(比如磁带设备)或用户定义游标接受输入。
The load utility also accepts input from named pipes, devices (such as tape devices), or user-defined cursors.
最后,关闭输入流,清空输出流,如果输出流是管道,则用pclose函数关闭它。
Finally, close the input stream, flush the output stream, and if it was a pipe, close it with the pclose function.
要将命令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 (|).
Xproc管道接受0个或多个XML文档作为输入,生成0个或多个XML文档作为输出。
XProc pipelines accept zero or more XML documents as their input and produce zero or more XML documents as output.
tee命令的功能是作为t管道,将输入(主机的输出)发送到下一条命令和称为tap的文件。
The tee command functions as a T-pipe, taking its input (the output from the mainframe) and sending it to the next command as well as a file called tap.
如果您熟悉各种管道连接器,应该明白 UNIX或Linuxtee应用程序做它名字所隐含的事情 — 将输入分割成两个不同的流。
The UNIX or Linux tee application does what its name suggests if you're familiar with various plumbing connectors—it splits its input into two different streams.
awk可以在管道中作为过滤器,如果没有指定文件,它也可以从键盘(标准输入)中接收输入。
Awk can act as a filter in a pipeline or take input from the keyboard (standard input) if no file or files are specified.
这一特性是用popen系统调用实现的,该系统调用允许一个进程打开到另一个进程的管道,将管道用于输出或输入。
This feature is implemented using the popen system call, which allows one process to open a pipe to another process, either for output or input. In this case we open a pipe to the command.
这一特性是用popen系统调用实现的,该系统调用允许一个进程打开到另一个进程的管道,将管道用于输出或输入。
This feature is implemented using the popen system call, which allows one process to open a pipe to another process, either for output or input. In this case we open a pipe to the command.
应用推荐