Skip to content

Instantly share code, notes, and snippets.

@bmvakili
Created March 6, 2014 22:27
Show Gist options
  • Save bmvakili/9401118 to your computer and use it in GitHub Desktop.
Save bmvakili/9401118 to your computer and use it in GitHub Desktop.
Merge and keep lines from both files, don't delet
#/bin/bash
diff --old-line-format='%L' --new-line-format='%L' $1 $2 > $2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment