chiark
/
gitweb
/
~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dot/emacs: Moderate horizontal scrolling; auto-scroll only one line.
[profile]
/
bin
/
un-backslashify-selection
diff --git
a/bin/un-backslashify-selection
b/bin/un-backslashify-selection
index 5bb279c13bf90051e39135560814b1ace9d95e9b..ad4e1fa4a8f30e65437938bfd3a4e71f5797c1d3 100755
(executable)
--- a/
bin/un-backslashify-selection
+++ b/
bin/un-backslashify-selection
@@
-1,11
+1,11
@@
#! /bin/sh
xsel -o | sed '
- s:\\::g
+ s:\\
*
::g
H
$ !d
x
s:\
-::g
+
*
::g
' | xsel -i