1CLIPJOIN(1)           User Contributed Perl Documentation          CLIPJOIN(1)
2
3
4

NAME

6       clipjoin - Remove superfluous spaces from the clipboard.
7

MOTIVATION

9       Often you'll copy some stuff, like this:
10
11         <ingy> hey rking, you should use YBFOD: http://search.cpan
12       .org/~ingy/Acme-YBFOD-0.11/
13
14       And xterm puts a "\n" before that ".org" when it goes to your
15       clipboard.  This script will cancel that.
16
17       Another IRC example is longer quotes:
18
19         <strunk> Objective consideration of contemporary phenomena compels the
20             conclusion that success or failure in competitive activities
21             exhibits no tendency to be commensurate with enate capacity but
22             that a considerable element of the unpredictable must invariably
23             be taken into account. I returned, and saw under the sun, that the
24             race is not to the swift, nor the battle to the strong, neither
25             yet bread to the wise, nor yet riches to men of understanding, nor
26             yet favour to men of skill, but time and chance happeneth to them all.
27
28       If you wanted to quote that to someone, you'd have \n's and "   "'s
29       everywhere, unless you ran "clipjoin" first.
30
31       An example from mutt:
32
33       ,-------------------------------------------.  |  xterm
34       (X) | +-------------------------------------------+ |
35       http://www.thisisalink.com/that/wrapped/ar|
36       |+ound/a/line/and/its/a/pain/without/the/joi| |+inclip/script
37       | `-------------------------------------------'
38
39       Becomes:
40       http://www.thisisalink.com/that/wrapped/around/a/line/and/its/a/pain/without/the/clipjoin/script
41

AUTHOR

43       Ryan King <rking@sharpsaw.org>
44
46       Copyright (c) 2005.  Ryan King.  All rights reserved.
47
48       This program is free software; you can redistribute it and/or modify it
49       under the same terms as Perl itself.
50
51       See <http://www.perl.com/perl/misc/Artistic.html>
52
53
54
55perl v5.12.0                      2005-10-20                       CLIPJOIN(1)
Impressum