mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
cmp: add link
This commit is contained in:
parent
907b827790
commit
9eb75b07f3
3 changed files with 7 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
||||||
# cmp
|
# cmp
|
||||||
|
|
||||||
> Compara due file.
|
> Compara due file.
|
||||||
|
> Maggiori informazioni: <https://www.gnu.org/software/diffutils/manual/html_node/Invoking-cmp.html>.
|
||||||
|
|
||||||
- Trova l'indice del primo byte e della prima riga differente tra due file:
|
- Trova l'indice del primo byte e della prima riga differente tra due file:
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# cmp
|
# cmp
|
||||||
|
|
||||||
> 두 개의 파일 비교.
|
> 두 개의 파일 비교.
|
||||||
|
> 더 많은 정보: <https://www.gnu.org/software/diffutils/manual/html_node/Invoking-cmp.html>.
|
||||||
|
|
||||||
- 파일 간의 첫 번째 바이트 번호와 선 번호의 차이를 찾습니다:
|
- 파일 간의 첫 번째 바이트 번호와 선 번호의 차이를 찾습니다:
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
# cmp
|
# cmp
|
||||||
|
|
||||||
> Compare two files.
|
> Compare two files byte by byte.
|
||||||
|
> More information: <https://www.gnu.org/software/diffutils/manual/html_node/Invoking-cmp.html>.
|
||||||
|
|
||||||
- Find the byte number and line number of the first difference between the files:
|
- Find the byte and line number of the first difference between two files:
|
||||||
|
|
||||||
`cmp {{file1}} {{file2}}`
|
`cmp {{path/to/file1}} {{path/to/file2}}`
|
||||||
|
|
||||||
- Find the byte number and differing bytes of every difference:
|
- Find the byte number and differing bytes of every difference:
|
||||||
|
|
||||||
`cmp -l {{file1}} {{file2}}`
|
`cmp -l {{path/to/file1}} {{path/to/file2}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue