SHARE
TWEET

Untitled

a guest Jul 24th, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top