Files
tldr/pages.zh/common/vertical-bar.md

273 B
Raw Permalink Blame History

垂直条

在程序之间传递数据。 更多信息:https://gnu.org/software/bash/manual/bash.html#Pipelines

  • stdout 管道到 stdin

{{command}} | {{command}}

  • stdoutstderr 都管道到 stdin

{{command}} |& {{command}}