chiark / gitweb /
Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile
[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