还有另一种方法来运行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.
默认情况下,标准输入是从键盘处获取它的内容的,不过,就像标准输出那样,标准输入也是可以被重定向的。
By default, standard input gets its contents from the keyboard, but like standard output, it can be redirected.
该命令与示例1 所做的工作相同,但在本例中,selpg读取标准输入,而标准输入已被shell/内核重定向为来自“input_file”而不是显式命名的文件名参数。
This does the same as example 1, but in this case, selpg is reading its stdin, which has been redirected by the shell/kernel to come from "input_file" instead of an explicitly named filename argument.
如 清单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.
selpg的标准输出透明地被shell/内核重定向,成为“other_command”的标准输入,第 10页到第 20 页被写至该标准输入。
The stdout of selpg is transparently redirected by the shell/kernel to become the stdin of "other_command," to which pages 10 thru 20 are written.
bashshell允许重定向Linux或UNIX系统上的标准输入、标准输出和标准错误。
The bash shell lets you redirect standard input, standard output, and standard error on a Linux or UNIX system.
bashshell允许重定向Linux或UNIX系统上的标准输入、标准输出和标准错误。
The bash shell lets you redirect standard input, standard output, and standard error on a Linux or UNIX system.
应用推荐