还有另一种方法来运行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.
应用推荐