Created
November 12, 2014 20:28
-
-
Save eboda/6196704dc887d9f4e4c6 to your computer and use it in GitHub Desktop.
diff splitter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sed '/^-/d' $1 | sed -e 's/^+/ /g' > $1.after | |
sed '/^+/d' $1 | sed -e 's/^-/ /g' > $1.before |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment