Update cheatsheets

This commit is contained in:
ivuorinen
2024-10-02 00:17:10 +00:00
parent c03ad03251
commit 6db54f9410
23 changed files with 500 additions and 1 deletions

17
tldr/vertical-bar Normal file
View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`