Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Common Contents of two text files -------------
- diff -y -w --strip-trailing-cr -i --minimal --color=always file1 file2 | grep -n -v'' "[|<>]"
- diff --ignore-blank-lines --ignore-space-change --ignore-trailing-space --ignore-case --minimal --strip-trailing-cr --unchanged-group-format='@@ %dn, %df
- %<' --old-group-format='' --new-group-format='' --changed-group-format='' file1 file2
- # -------------------------------------------
- # CSV like parsing
- sed 's/,,/, ,/g;s/,,/, ,/g' data.csv | column -s, -t
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement