comparison textshaper/textshaper.py @ 1:92baf2c5652f

-> http://k0s.org/portfolio/ideas/textshaper.py
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 10 Aug 2013 22:00:50 -0700
parents
children e5adf3414c6b
comparison
equal deleted inserted replaced
0:53cfd6e1ad0f 1:92baf2c5652f
1 #!/usr/bin/env python
2
3 """
4 = textshaper =
5
6 /text manipulation/
7
8 So you have a block of text ...
9
10 What do you want to do with it?!?
11
12 == Desired Functionality ==
13
14 == Previous work ==
15
16 /corpus of past programs -> consolidate/
17
18 - onelineit
19 - quoting
20 - dequoting (including e.g. +/-, diff-ish shit)
21 - removing timestamps
22 - removing/adding irc quote tags
23
24 Interface:
25 - library code
26 - (n)curses
27 - javascript/REST
28
29 Consider the pattern:
30
31 * things that add and/or remove a thing
32 * things that alter spacing
33
34
35 == Reference ==
36
37 Previous k0s.ware (big and small):
38 - http://k0s.org/hg/config/rev/5e0b4ec36013
39
40 Highly related (~> identity): http://k0s.org/portfolio/ideas/cleanuptext.py
41
42 Ubuntu packages:
43 - par (paragraph reformatter)
44 """
45
46 #!/usr/bin/env python
47
48
49
50
51
52
53
54
55
56
57
58