什么是只返回输入的 UNIX shell 程序?
例如
> echo "test" | $pass
> test # output
最佳答案
你可以使用cat
。
当使用 cat
时没有任何命令行参数。它只是将标准输入复制到标准输出。
关于bash - 通过 unix shell 管道,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10528441/
什么是只返回输入的 UNIX shell 程序?
例如
> echo "test" | $pass
> test # output
最佳答案
你可以使用cat
。
当使用 cat
时没有任何命令行参数。它只是将标准输入复制到标准输出。
关于bash - 通过 unix shell 管道,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10528441/