Mercurial > hg > TextShaper
annotate README.txt @ 22:586631375670
STUB: README.txt textshaper/main.py
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 23 Feb 2014 10:10:45 -0800 |
parents | e6f680d25d63 |
children | 0930c6884f8a |
rev | line source |
---|---|
0 | 1 TextShaper |
2 =========== | |
3 | |
20 | 4 /text manipulation: a package to shape text blocks/ |
5 | |
6 So you have a block of text ... | |
7 What do you want to do with it?!? | |
8 | |
9 == Desired Functionality == | |
10 | |
11 - onelineit | |
12 - quoting | |
13 - dequoting (including e.g. +/-, diff-ish shit) | |
14 - remove whitespace | |
15 - removing timestamps | |
16 - removing/adding irc quote tags | |
17 | |
18 == Previous work == | |
19 | |
20 /corpus of past programs -> consolidate/ | |
21 | |
22 | |
23 Interface: | |
24 - library code | |
25 - (n)curses | |
26 - javascript/REST | |
27 | |
28 Consider the pattern: | |
29 | |
30 * things that add and/or remove a thing | |
31 * things that alter spacing | |
32 | |
33 | |
22
586631375670
STUB: README.txt textshaper/main.py
Jeff Hammel <k0scist@gmail.com>
parents:
21
diff
changeset
|
34 == Things to import from my fluxbox keys == |
586631375670
STUB: README.txt textshaper/main.py
Jeff Hammel <k0scist@gmail.com>
parents:
21
diff
changeset
|
35 |
586631375670
STUB: README.txt textshaper/main.py
Jeff Hammel <k0scist@gmail.com>
parents:
21
diff
changeset
|
36 From http://k0s.org/hg/config/file/tip/.fluxbox/keys :: |
586631375670
STUB: README.txt textshaper/main.py
Jeff Hammel <k0scist@gmail.com>
parents:
21
diff
changeset
|
37 |
586631375670
STUB: README.txt textshaper/main.py
Jeff Hammel <k0scist@gmail.com>
parents:
21
diff
changeset
|
38 Control Mod1 o :ExecCommand xclip -o | /home/jhammel/python/onelineit.py | xclip -i # put the clipboard contents on one line |
586631375670
STUB: README.txt textshaper/main.py
Jeff Hammel <k0scist@gmail.com>
parents:
21
diff
changeset
|
39 Control Mod1 p :ExecCommand xclip -o | /home/jhammel/python/pbmoz.py | xclip -i # pastebin |
586631375670
STUB: README.txt textshaper/main.py
Jeff Hammel <k0scist@gmail.com>
parents:
21
diff
changeset
|
40 Control Mod1 q :ExecCommand xclip -o | /home/jhammel/python/quote.py | xclip -i # quote using >'s |
586631375670
STUB: README.txt textshaper/main.py
Jeff Hammel <k0scist@gmail.com>
parents:
21
diff
changeset
|
41 Control Mod1 0 :ExecCommand xclip -o | sed 's/^[-+]//' | xclip -i # strip leading +s |
586631375670
STUB: README.txt textshaper/main.py
Jeff Hammel <k0scist@gmail.com>
parents:
21
diff
changeset
|
42 |
586631375670
STUB: README.txt textshaper/main.py
Jeff Hammel <k0scist@gmail.com>
parents:
21
diff
changeset
|
43 |
20 | 44 == Reference == |
45 | |
46 Highly related (~> identity): http://k0s.org/portfolio/ideas/cleanuptext.py | |
47 | |
48 Ubuntu packages: | |
49 - par (paragraph reformatter) | |
50 | |
51 | |
0 | 52 ---- |
53 | |
54 Jeff Hammel | |
55 | |
56 http://k0s.org/hg/TextShaper | |
57 |