mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-05 03:55:22 +02:00

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
12 lines
261 B
Markdown
12 lines
261 B
Markdown
# Vertical bar
|
|
|
|
> Pipe data between programs.
|
|
> More information: <https://gnu.org/software/bash/manual/bash.html#Pipelines>.
|
|
|
|
- Pipe `stdout` to `stdin`:
|
|
|
|
`{{command}} | {{command}}`
|
|
|
|
- Pipe both `stdout` and `stderr` to `stdin`:
|
|
|
|
`{{command}} |& {{command}}`
|