text 简单的猫命令

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text 简单的猫命令相关的知识,希望对你有一定的参考价值。

$ cat fred barney | sort | ./your_program | grep something | lpr
# This line says the command should print out all of the lines of the file fred, followed by all the lines of the file barney.
# That output is then the input of the sort command, which sorts those lines and passes them to your_program. 
# Then, your_program sends the data to grep, which discards certain lines in the data, sending the others to the lpr command, which should print everything that it gets on a printer.

以上是关于text 简单的猫命令的主要内容,如果未能解决你的问题,请参考以下文章