Skip to content
/ tabdiff Public

Command line tool showing the row-by-row- field-by-field difference between two CSV files.

License

Notifications You must be signed in to change notification settings

nblxa/tabdiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tabdiff

Command line tool showing the row-by-row and field-by-field difference between two CSV files.

Build

Download the Rust build toolchain and build.

$ curl https://sh.rustup.rs -sSf | sh
$ cargo build --release

Run

🌈 The console output is colorized.

$ target/release/tabdiff -l key -r key example/a.csv example/b.csv
+-------+----------------------------+----------------------------+
| Diff  | code/tabdiff/example/a.csv | code/tabdiff/example/b.csv |
+=======+============================+============================+
| left  | key   : all my base        |                            |
|       | value : belong to you      |                            |
+-------+----------------------------+----------------------------+
| right |                            | key   : all your base      |
|       |                            | value : belong to me       |
+-------+----------------------------+----------------------------+
| eq    | key   : roses              | key   : roses              |
|       | value : red                | value : red                |
+-------+----------------------------+----------------------------+
| diff  | key   : violets            | key   : violets            |
|       | value : blue               | value : green              |
+-------+----------------------------+----------------------------+

About

Command line tool showing the row-by-row- field-by-field difference between two CSV files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages