chiark / gitweb /
dot/emacs: Fix the tramp hacking from last time.
[profile] / bin / un-backslashify-selection
1 #! /bin/sh
2
3 xsel -o | sed '
4         s:\\::g
5         H
6 $       !d
7
8         x
9         s:\
10 ::g
11 ' | xsel -i