Hacker News new | ask | show | jobs
by wnoise 5312 days ago
You might be interested in the program "par", which uses dynamic programming to optimize the line breaks, and can automatically handle such things as text prefixed by "> ".

http://www.nicemice.net/par/