1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.ko/common/combine.md

23 lines
756 B
Markdown
Raw Normal View History

# combine
> 두 파일의 줄에서 설정 작업 수행.
> 출력되는 줄의 순서는 첫 번째 파일의 줄 순서에 따라 결정됨.
> 참고: `diff`.
> 더 많은 정보: <https://joeyh.name/code/moreutils/>.
- 지정된 두 파일 모두에 있는 라인을 출력:
`combine {{경로/대상/파일1}} and {{경로/대상/파일2}}`
- 첫 번째 파일에는 있지만, 두 번째 파일에는 없는 줄을 출력:
`combine {{경로/대상/파일1}} not {{경로/대상/파일2}}`
- 지정된 파일 중 하나에 있는 줄을 출력:
`combine {{경로/대상/파일1}} or {{경로/대상/파일2}}`
- 지정된 파일 중 정확히 하나에만 있는 줄을 출력:
`combine {{경로/대상/파일1}} xor {{경로/대상/파일2}}`