Mercurial > hg > TextShaper
annotate README.txt @ 50:1284c99a94fa
stubbing
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sat, 16 May 2015 21:02:07 -0700 |
parents | 0930c6884f8a |
children |
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 Ubuntu packages: | |
47 - par (paragraph reformatter) | |
48 | |
49 | |
0 | 50 ---- |
51 | |
52 Jeff Hammel | |
53 | |
54 http://k0s.org/hg/TextShaper | |
55 |