chiark / gitweb /
5bb279c13bf90051e39135560814b1ace9d95e9b
[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