summaryrefslogtreecommitdiff
path: root/tools/unwrap-diff
diff options
context:
space:
mode:
Diffstat (limited to 'tools/unwrap-diff')
-rwxr-xr-xtools/unwrap-diff2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/unwrap-diff b/tools/unwrap-diff
new file mode 100755
index 0000000000..ccea99b7b4
--- /dev/null
+++ b/tools/unwrap-diff
@@ -0,0 +1,2 @@
+#!/bin/sh
+tr '\n' '\001' | sed 's/\x01\x01/\x01 \x01/g' | sed 's/\x01\([^-+ @]\)/ \1/g' | tr '\001' '\n'