OLOL2TAB

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
AUTHOR
SEE ALSO

NAME

olol2tab − Convert Outliner Lighto outline files to tab-indented text files

SYNOPSIS

olol2tab filename

DESCRIPTION

olol2tab can be used to convert an Outliner Lighto outline file (.olol file) to a tab-indented text file, which is a much easier format to work with programmatically (especially for scripts). The program will convert the file passed as its argument and output the converted file in the standard output as it processes it.

Please note that converting an olol file to a tab-indented text file will lose some of the information in the olol file, like the node types, their opened/closed state, etc. Only their position in hierarchy and their text will be preserved.

The file format is very simple: for each node a line is stored in the text file and the number of tabs in front of the text signifies the node’s position in the hierarchy: a node with no tabs is a toplevel node, a node with one tab is one level deep in the hierarchy and child of the last node that was zero tabs deep, etc. Parsing the file format is very simple, as the source code of tab2olol shows.

EXAMPLES

Convert the elements.olol file to a tab-indented text file named
elements.tabfile

olol2tab elements.olol > elements.tabfile

AUTHOR

Kostas "Bad Sector" Michalopoulos <badsector@runtimeterror.com>

SEE ALSO

ol(1), tab2olol(1), ololfiles(5)