[Vimoutliner] otlreorder.py

Noel Henson noel at noels-lab.com
Fri Aug 4 15:23:00 EDT 2006


Here is a nice python script I just finished. It has many uses. It is like 
otlgrep.py but reorganizes the otl output to focus on the search terms.  
The best way to show how it works is to give some exampes.

With this project outline:

Work
Projects
	[_] 41% Lister
		[_] 50% Dale
			[X] 100% Write initial program
			[_] 0% Write initial documentation
		[_] 33% Jean
			[_] 0% Review documentation
			[X] 100% Create test data set
			[_] 0% Test program
	[_] 50% Reporter
		[_] 0% Dale
			[_] 0% Review documentation
			[_] 0% Create test data set
			[_] 0% Test program
		[X] 100% Jean
			[X] 100% Write initial program
			[X] 100% Write initial documentation

You can get a summary outline for Jean with:

otlreorder Jean project.otl

This produces:

Jean
	Projects
		[_] 41% Lister
			[_] 0% Review documentation
			[X] 100% Create test data set
			[_] 0% Test program
		[_] 50% Reporter
			[X] 100% Write initial program
			[X] 100% Write initial documentation

otlreorder Jean Dale project.otl


Jean
	Projects
		[_] 41% Lister
			[_] 0% Review documentation
			[X] 100% Create test data set
			[_] 0% Test program
		[_] 50% Reporter
			[X] 100% Write initial program
			[X] 100% Write initial documentation
Dale
	Projects
		[_] 41% Lister
			[X] 100% Write initial program
			[_] 0% Write initial documentation
		[_] 50% Reporter
			[_] 0% Review documentation
			[_] 0% Create test data set
			[_] 0% Test program

For those interested, please test it. Once it passes muster, I'll put it up 
on the VO web site. The file is attached.

Thanks,
Noel



-- 

------------------------------------------------------------------
  Noel Henson
  www.noels-lab.com	Chips, firmware and embedded systems
  www.vimoutliner.org	Work fast. Think well.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: otlreorder.py.gz
Type: application/x-gzip
Size: 2378 bytes
Desc: not available
Url : http://lists.vimoutliner.org/pipermail/vimoutliner/attachments/20060804/8890d189/otlreorder.py.gz


More information about the VimOutliner mailing list