mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-31 12:35:41 +02:00
join: add stdin example (#8416)
* join: add '-' file from standard input
This commit is contained in:
parent
e89c494850
commit
8b57a42aac
1 changed files with 4 additions and 0 deletions
|
@ -18,3 +18,7 @@
|
||||||
- Produce a line for each unpairable line for file1:
|
- Produce a line for each unpairable line for file1:
|
||||||
|
|
||||||
`join -a {{1}} {{file1}} {{file2}}`
|
`join -a {{1}} {{file1}} {{file2}}`
|
||||||
|
|
||||||
|
- Join a file from stdin:
|
||||||
|
|
||||||
|
`cat {{path/to/file1}} | join - {{path/to/file2}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue