abligh / reflow Goto Github PK
View Code? Open in Web Editor NEWReflow mail messages
License: Apache License 2.0
Reflow mail messages
License: Apache License 2.0
(c) 2012 Alex Bligh <[email protected]> Licensed under the Apache licence - see LICENSE for details 'reflow' reformats mail messages sensibly. It works as a UNIX pipe, reformatting STDIN to STDOUT, rather like the fmt command. However, it's designed to intelligently process text, particularly mail messages, and deal with quoting and indentation. It can be wired up to any editor, or (on OS-X) to Automator and Services, to reflow any editable window on a keypress. Usage: reflow [options] < INFILE > OUTFILE Options: -w, --width N Set width to N (default 76) -s, --strip-signature Strip email signatures -q, --quote N Increase quotation level by N, or decrease quotation level by -N -i, --indent N Increase indent level by 4N, or decrease indent level by -4N -m, --max-quote N Maximum quotation level of N (default 10) -y, --min-width N Minimum text width of N (default 20) -h, --help Print this message
I've set run the reflow script with your test content and but get "Bad options at reflow line 87." Any ideas what's going on? I'm not the best Perl/Unix hacker so I may have got something wrong in the environment. I'm just using plain Mac OS X 10.8.2.
By the way I'm interested in finding a solution to http://apple.stackexchange.com/questions/81867/how-to-clean-up-emails-when-replying-in-plain-text and I'm surprised how there's not more people talking about this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.