Saturday, April 2, 2011

command line tool for creating outline summary

A while back I thought I saw a command line tool  that would create an outline summary from tab-indented text... but I couldn't find it.  So it was easier to just write this script than keep googling for it.

This is a command line tool that takes tab indented text and creates a formatted outline summary (based on the level of indentation).   I know that most word processors do outlines automatically, but I tend to prefer keeping all my notes in plain ASCII text.  This works in Linux and/or vim editor as well.

Update 11/25/2015: I improved this script and uploaded to github: