# HG changeset patch # User Jeff Hammel # Date 1376197706 25200 # Node ID e5adf3414c6b4dcd27964017786f063b3c228405 # Parent 92baf2c5652ff6c4375c5ee7d5edeb7e596ea945 -> http://k0s.org/portfolio/ideas/cleanuptext.py diff -r 92baf2c5652f -r e5adf3414c6b textshaper/cleanup.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/textshaper/cleanup.py Sat Aug 10 22:08:26 2013 -0700 @@ -0,0 +1,3 @@ +""" +cleanuptext.py: (semi?)automatic cleanup of text +""" diff -r 92baf2c5652f -r e5adf3414c6b textshaper/textshaper.py --- a/textshaper/textshaper.py Sat Aug 10 22:00:50 2013 -0700 +++ b/textshaper/textshaper.py Sat Aug 10 22:08:26 2013 -0700 @@ -1,25 +1,24 @@ #!/usr/bin/env python """ -= textshaper = - -/text manipulation/ +textshaper : text manipulation So you have a block of text ... - What do you want to do with it?!? == Desired Functionality == +- onelineit +- quoting +- dequoting (including e.g. +/-, diff-ish shit) +- remove whitespace +- removing timestamps +- removing/adding irc quote tags + == 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 @@ -43,7 +42,6 @@ - par (paragraph reformatter) """ -#!/usr/bin/env python @@ -56,3 +54,4 @@ +