chiark / gitweb /
bin/disorder-notify: Refactor the state reporting machinery.
[profile] / bin / un-backslashify-selection
index 5bb279c13bf90051e39135560814b1ace9d95e9b..ad4e1fa4a8f30e65437938bfd3a4e71f5797c1d3 100755 (executable)
@@ -1,11 +1,11 @@
 #! /bin/sh
 
 xsel -o | sed '
-       s:\\::g
+       s:\\ *::g
        H
 $      !d
 
        x
        s:\
-::g
+ *::g
 ' | xsel -i