changeset 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 53cfd6e1ad0f
children e5adf3414c6b
files textshaper/textshaper.py
diffstat 1 files changed, 58 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/textshaper/textshaper.py	Sat Aug 10 22:00:50 2013 -0700
@@ -0,0 +1,58 @@
+#!/usr/bin/env python
+
+"""
+= textshaper =
+
+/text manipulation/
+
+So you have a block of text ...
+
+What do you want to do with it?!?
+
+== Desired Functionality ==
+
+== Previous work ==
+
+/corpus of past programs -> consolidate/
+
+- onelineit
+- quoting
+- dequoting (including e.g. +/-, diff-ish shit)
+- removing timestamps
+- removing/adding irc quote tags
+
+Interface:
+- library code
+- (n)curses
+- javascript/REST
+
+Consider the pattern:
+
+* things that add and/or remove a thing
+* things that alter spacing
+
+
+== Reference ==
+
+Previous k0s.ware (big and small):
+- http://k0s.org/hg/config/rev/5e0b4ec36013
+
+Highly related (~> identity): http://k0s.org/portfolio/ideas/cleanuptext.py
+
+Ubuntu packages:
+- par (paragraph reformatter)
+"""
+
+#!/usr/bin/env python
+
+
+
+
+
+
+
+
+
+
+
+