diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-10-26 17:11:38 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-10-26 17:11:38 +0100 |
commit | ec54b9528b2eb32d5775bc1ff3566f1e2e2db955 (patch) | |
tree | faafce0250705f97785b0bf30b092f9e27362fe3 /clipboard-singlify | |
parent | 1c304f96c427d3538934fffa075ab50d7ab7d64a (diff) | |
download | bin-ec54b9528b2eb32d5775bc1ff3566f1e2e2db955.tar.gz bin-ec54b9528b2eb32d5775bc1ff3566f1e2e2db955.tar.xz |
Add new scripts
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'clipboard-singlify')
-rwxr-xr-x | clipboard-singlify | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clipboard-singlify b/clipboard-singlify new file mode 100755 index 0000000..75d09e0 --- /dev/null +++ b/clipboard-singlify @@ -0,0 +1,3 @@ +#!/bin/bash + +xclip -o | perl -pe 'BEGIN{undef $/;} s#[\t ]*\n[\t ]*# #mg; s#^\s*##; s#\s*$##' | xclip |