通过unix shell管道

Any*_*orn 4 bash shell

什么是只返回输入的UNIX shell程序?

例如

> echo "test" | $pass
> test # output
Run Code Online (Sandbox Code Playgroud)

cod*_*ict 11

你可以用cat.

何时cat使用没有任何命令行参数.它只是将标准输入复制到标准输出.