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.
在这段代码中,您首先要为标准输入声明一个文件指针,以便您能够在拼写检查过程中从键盘获得交互式信息。
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.
许多文本处理命令(过滤器)可以从标准输入流或从文件中获取输入。
Most programs that can run from standard input can also reasonably be run on a single file, or possibly on a group of files.
可以使用标准输入来运行的大多数程序也完全可以针对单个文件或一组文件运行。
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.
有一点不是很重要但却很有帮助,初始打开每个应用程序时,都具有三个文件描述符,从0到2,分别表示标准输入、输出和错误流。
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的标准输入,因此我们可以将tr的输出与text2文件连接起来。
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命令只回显向标准输入键入的任何内容;>重定向将该输入捕获到指定的文件中。
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.
同时,虽然LogParser默认从标准输入中读取数据,但是你也可以指定一个来自运行时服务器的日志文件,用LogParser实时输出。
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.
编译器的设计标准是将其分成两个模块:前端和后端,前端读取输入文件并对该文件进行解码,后端生成代码,或者在这种情况下生成table 类。
The mapping implementation is built as an Eclipse plugin and takes the industry standard file format for exchange of UML models (XMI) as input.
映射实现被构建为Eclipse插件,它采取了UML模型(XMI)交换的工业标准文件格式作为输入。
The next page, AddPhoto.html is a standard file input field that lets you browse to a file on the file system.
接下来的页面addphoto . html是一个标准的文件输入域,使您能够浏览文件系统中的一个文件。
Awk can act as a filter in a pipeline or take input from the keyboard (standard input) if no file or files are specified.
awk可以在管道中作为过滤器,如果没有指定文件,它也可以从键盘(标准输入)中接收输入。
There is yet another way to run a Derby script: redirect the standard input of the ij tool to read from the script file.
还有另一种方法来运行Derby脚本:重定向ij工具的标准输入以从脚本文件中读取。
The pipe between the two (|) feeds the standard output from the first tar into the standard input of the second, effectively copying the files into, and then out of, a non-existent archive file.
两者之间的管道 (|) 将第一个tar 的标准输出传入到第二个 tar的标准输入,并且高效地将文件复制到一个并不存在的存档文件,然后再从其中提取文件。
In the first example, we use cat to read the file and output it to standard output, which is piped into the standard input of FMT.
在第一个例子里面,我们使用cat命令来读取文件的内容,然后将内容输送到标准输出,标准输出通过管道机制作为命令fmt的标准输入。
Here, however, — extract — file - reads the archive from standard input.
然而,这里的——extract——file-从标准输入读取存档。
When the output of cat is not redirected to a file or another command's standard input, cat behaves as most command-line tools and send its output to the console.
当cat的输出没有被重定向到一个文件或另一个命令的标准输出时,cat表现出来的行为与多数命令行工具一样,即将其输出发送到控制台。
This function is typically used to open a specified file as one of the predefined streams: standard input, standard output, or standard error.
这个函数通常用于打开一个指定的文件使用预先定义的流:标准输入,标准输出,标准错误。
This function is typically used to open a specified file as one of the predefined streams: standard input, standard output, or standard error.
这个函数通常用于打开一个指定的文件使用预先定义的流:标准输入,标准输出,标准错误。
应用推荐