mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 00:53:08 +02:00
csv-diff: add page (#8520)
This commit is contained in:
parent
9d0449d207
commit
bac421272f
1 changed files with 16 additions and 0 deletions
16
pages/common/csv-diff.md
Normal file
16
pages/common/csv-diff.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# csv-diff
|
||||||
|
|
||||||
|
> View differences between two CSV, TSV or JSON files.
|
||||||
|
> More information: <https://github.com/simonw/csv-diff>.
|
||||||
|
|
||||||
|
- Display a human-readable summary of differences between files using a specific column as a unique identifier:
|
||||||
|
|
||||||
|
`csv-diff {{path/to/file1.csv}} {{path/to/file2.csv}} --key={{column_name}}`
|
||||||
|
|
||||||
|
- Display a human-readable summary of differences between files that includes unchanged values in rows with at least one change:
|
||||||
|
|
||||||
|
`csv-diff {{path/to/file1.csv}} {{path/to/file2.csv}} --key={{column_name}} --show-unchanged`
|
||||||
|
|
||||||
|
- Display a summary of differences between files in JSON format using a specific column as a unique identifier:
|
||||||
|
|
||||||
|
`csv-diff {{path/to/file1.csv}} {{path/to/file2.csv}} --key={{column_name}} --json`
|
Loading…
Add table
Reference in a new issue