1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 08:15:23 +02:00

join: add stdin example (#8416)

* join: add '-' file from standard input
This commit is contained in:
yunlang 2022-10-02 21:51:08 +08:00 committed by GitHub
parent e89c494850
commit 8b57a42aac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,3 +18,7 @@
- Produce a line for each unpairable line for file1:
`join -a {{1}} {{file1}} {{file2}}`
- Join a file from stdin:
`cat {{path/to/file1}} | join - {{path/to/file2}}`