chiark / gitweb /
bin/un-backslashify-selection: Trim leading spaces in selection.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 8 Jan 2012 00:14:13 +0000 (00:14 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 8 Jan 2012 00:14:13 +0000 (00:14 +0000)
Recent Emacs configuration changes insert spaces at the beginnings of
wrapped lines in IRC, so this is necessary to strip them out again.

bin/un-backslashify-selection

index 5bb279c13bf90051e39135560814b1ace9d95e9b..1b14d43a7348da217be9ca6e41d9e7d330d44349 100755 (executable)
@@ -7,5 +7,5 @@ $       !d
 
        x
        s:\
-::g
+ *::g
 ' | xsel -i