Dunbundle [ -N|L|S ] leaf-field-list [ input-file.. ]
Dunbundle unbundles the input files with the leaf-field-list and the given leaf separation algorithm.
Unbundling is a D-file operation to reduce repeating fields. A group of records are produced from an input record. Each of the produced record is composed of the stem fields (i.e., fields not in the leaf-field-list) and an individual leaf of the input record. Individual leaf is identified by the given leaf-field-list and the leaf separation algorithm selected by the -NLS option. For the definition of leaf and stem fields, and about the leaf separation algorithm, see the manual of D_lsa.
It is easier to explain with example. A D-file name "inf.d" contains a record having a "key" field and repeating "leaf" fields.
key:A
leaf:1
leaf:2
leaf:3
Unbundling of this file with leaf fields "leaf":
Dunbundle leaf inf.d
produces following records.
key:A
leaf:1
key:A
leaf:2
key:A
leaf:3
For leaf separation algorithms, see the manual of D_lsa.
Command:
Dunbundle word indexwords.d
Input file "indexwords.d":
page:1
word:Dunbundle
word:leaf separation algorithm
word:leaf fields
word:stem fields
.....
Result:
page:1
word:Dunbundle
page:1
word:leaf separation algorithm
page:1
word:leaf fields
page:1
word:stem fields
.....
See the manual of D_msg.
MIYAZAWA Akira