un-backslashify-selection: Handy X hack.
[profile] / un-backslashify-selection
diff --git a/un-backslashify-selection b/un-backslashify-selection
new file mode 100755 (executable)
index 0000000..5bb279c
--- /dev/null
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+xsel -o | sed '
+       s:\\::g
+       H
+$      !d
+
+       x
+       s:\
+::g
+' | xsel -i