标准输入文件提供了一个将数据传送到一个进程的方法。
The standard input file provides a way to send data to a process.
在这段代码中,您首先要为标准输入声明一个文件指针,以便您能够在拼写检查过程中从键盘获得交互式信息。
In this code, you start by declaring a file pointer to standard input so that you can get interactive information from the keyboard during the spell-check process.
标准形式的完成功能的局限性在于,它只能在您从命令行上执行输入时完成文件和路径(包括命令)。
The limitation of completion in its standard form is that it is only able to complete files and paths (including commands) while you are entering them on the command line.
第二种机制在命令行参数输出的指令控制下,把自己标准输入中的行写入日志文件。
It writes lines from its standard input to log files under the control of instructions you enter as command-line arguments.
可以使用标准输入来运行的大多数程序也完全可以针对单个文件或一组文件运行。
Most programs that can run from standard input can also reasonably be run on a single file, or possibly on a group of files.
有一点不是很重要但却很有帮助,初始打开每个应用程序时,都具有三个文件描述符,从0到2,分别表示标准输入、输出和错误流。
As a bit of helpful trivia, each application is initially opened with three file descriptors, 0 through 2, for the standard input, output, and error streams, 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.
这一示例也解释了如何使用-表示cat的标准输入,因此我们可以将tr的输出与text2文件连接起来。
This example also illustrates the use of - to signify standard input to cat, so we can concatenate the output of tr and the text2 file.
使用cat(其名称表示“连接”)来连接文件和标准输入流,如清单1所示。
Use cat, whose name stands for together, to concatenate files and standard input streams, as in Listing 1.
然后,sed将其结果写入标准输出(stdout),它不修改任何输入文件。
And, sed writes its results to standard output (stdout); it doesn't modify any input files.
同时,虽然LogParser默认从标准输入中读取数据,但是你也可以指定一个来自运行时服务器的日志文件,用LogParser实时输出。
Also, since by default the LogParser reads from standard input, you can pipe a log file from a running server to the LogParser to get output generated in real time.
归功于Perl便利的 表达方式,这个小实用程序既适用于标准输入,也适用于命令行指定的文件。
Thanks to Perl's convenient idiom, this automatically works either on standard input or on files named on the command line.
映射实现被构建为Eclipse插件,它采取了UML模型(XMI)交换的工业标准文件格式作为输入。
The mapping implementation is built as an Eclipse plugin and takes the industry standard file format for exchange of UML models (XMI) as input.
由于大多数工具都接受使用连字符(-)的标准输入作为一个参数,因此即使使用cat来分散stdin中的多个文件,参数也通常是无效的。
Because most tools take standard input as an argument using a hyphen (-), even the argument for using cat to intersperse multiple files with stdin is often not valid.
例如,当用ls时,它会读取指定目录的内容,并将文件列表发送给调用它的程序(shell)的标准输入。
For example, when you use ls, which reads the contents of the specified directory, it sends the list of files to the standard input of the program that called it (the shell).
tarxf-从标准输入中提取文件。
接下来的页面addphoto . html是一个标准的文件输入域,使您能够浏览文件系统中的一个文件。
The next page, AddPhoto.html is a standard file input field that lets you browse to a file on the file system.
在命令管道中作为组件工作(通过读取标准输入或文件名参数,以及写至标准输出和标准错误)。
Working as a component in a pipeline of commands (by reading either standard input or a filename argument, and writing to standard output and standard error).
应该使用高级业务建模的用户配置文件来添加运行时需求,如控制任务执行的输入标准和对资源的使用。
The Advanced Business Modeling user profile should be used to add run-time requirements, such as input criteria for controlling task execution and use of repositories.
该输入可以来自作为最后一个命令行参数指定的文件,在没有给出文件名参数时也可以来自标准输入。
This input can come either from a file specified as the last command line argument, or from standard input if no file name argument is given.
许多文本处理命令(过滤器)可以从标准输入流或从文件中获取输入。
Many text processing commands (filters) can take input either from the standard input stream or from a file.
当从多个文件或标准输入流创建输出时,可以使用当前日期和时间替换文件名和创建日期。
When output is created from multiple files or the standard input stream, the current date and time are used instead of the filename and creation date.
如果命令行上没有给出文件名参数,我们就使用标准输入。
If a filename arg was not given on the command line, we use stdin.
如果没有给定文件,它就从标准输入中读入内容,如果给定了文件名就从文件中读入内容。
It reads from standard input if no files are given, or if given a filename of -.
编译器的设计标准是将其分成两个模块:前端和后端,前端读取输入文件并对该文件进行解码,后端生成代码,或者在这种情况下生成table类。
The standard for compiler design is to break it in two modules: the front end that reads and decodes the input file, and the back end that produces the code or, in this case, the table class.
还有另一种方法来运行Derby脚本:重定向ij工具的标准输入以从脚本文件中读取。
There is yet another way to run a Derby script: redirect the standard input of the ij tool to read from the script file.
标准输入或汇编源文件。
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.
如 清单8 所示,使用不带文件名的cat命令只回显向标准输入键入的任何内容;>重定向将该输入捕获到指定的文件中。
As shown in Listing 8, using the cat command without a file name simply echoes anything typed to standard input; the > redirection captures that to the specified file.
如 清单8 所示,使用不带文件名的cat命令只回显向标准输入键入的任何内容;>重定向将该输入捕获到指定的文件中。
As shown in Listing 8, using the cat command without a file name simply echoes anything typed to standard input; the > redirection captures that to the specified file.
应用推荐