Advertisement
Guest User

Untitled

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