通过命令行界面(CLI)执行命令的另一个重要方面是,能够把各种输出写到一个设备,或者把来自另一个设备的输入读取到命令中。
互联网摘选
Doing so means you must be able to read from files or standard input and write back to the terminal.
这样做意味着您必须能够从文件或标准输入读取数据并将数据写回终端。
互联网摘选
比较常见的情况是编写/html/head/title这样的XPath表达式,但是这类表达式会返回一个空的节点集,因为输入文档不会包含title这样的元素。
互联网摘选
练习1-20编写程序detab,将输入中的制表符替换成适当数目的空格,使交格充满到下一个制表符终止位的地方。
互联网摘选
The officers use stylus pen-based input devices to write their reports onto touch-sensitive screens.
警察使用手写笔输入设备在触控式屏幕上写报告。
柯林斯高阶英汉双解学习词典
假设命令提供程序需要编写Hello World命令,该命令在单独步骤中接受输入(人员的名称和国家/地区名称),并向该人员说Hello World。
互联网摘选
Write a polynomial type and the input and output polynomials, addition and subtraction operations.
写多项式型和输入和输出多项式, 加减行动.
互联网摘选
review, input and study daily production, process data, write technical report.
检查 、 输入和研究生产日常数据和工艺数据并写技术报告.
互联网摘选