For example, if a robot does chores around the house, you wouldn't want it to put the pet cat in the oven to make dinner for the hungry children.
例如,如果一个机器人在家里做家务,你不会希望它把宠物猫放进烤箱里将其作为饥饿的孩子的晚餐。
In that example we used the output from the cat command to create standard input for the tr command.
在那个例子中我们使用来自cat命令的输出为tr命令创建标准输入。
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的标准输入。
So this is my--petting a cat, example.
那么这就是我-在爱抚着猫了。
应用推荐