Skip to main content

package to shape text blocks

Project description

/text manipulation: a package to shape text blocks/

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/

Interface: - library code - (n)curses - javascript/REST

Consider the pattern:

  • things that add and/or remove a thing

  • things that alter spacing

== Things to import from my fluxbox keys ==


Control Mod1 o :ExecCommand xclip -o | /home/jhammel/python/ | xclip -i # put the clipboard contents on one line
Control Mod1 p :ExecCommand xclip -o | /home/jhammel/python/ | xclip -i # pastebin
Control Mod1 q :ExecCommand xclip -o | /home/jhammel/python/ | xclip -i # quote using >'s
Control Mod1 0 :ExecCommand xclip -o | sed 's/^[-+]//' | xclip -i # strip leading +s

== Reference ==

Ubuntu packages: - par (paragraph reformatter)

Jeff Hammel

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TextShaper-0.0.tar.gz (6.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page