otlreorder.py

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

otlreorder.py

Noel Henson
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.


_______________________________________________
VimOutliner mailing list
[hidden email]
http://www.lists.vimoutliner.org/mailman/listinfo/vimoutliner

otlreorder.py.gz (3K) Download Attachment