Debug tool for seqset. Also useful for resolving sequences.
cyr_sequence [ -C altconfig ] [ -m maxval ] <command> sequence The command is one of: * parsed * compress * members * ismember * create The sequence is a list of sequences. Discrete numbers are separated with commas, ranges are separated by colons.
cyr_sequence shows what happens when various operations are performed over a sequence.
Dumps a parsed view of the list structure, broken into contiguous sections.
Given a list, compress ranges with colons.
Displays the full list of members within the sequence, in order, expanding out the ranges.
For each number in the list, check if it’s in the sequence.
*[-s] [-o origlist] [items]*¶
Generate a new list from the items, prefix numbers with
~to remove them from the list. If an original list is given, this is joined into this new list.
The -s flag generates a sparse list.
Join two sequences together and return the output in compressed format.
Specify an alternate config file.
Limit the maximum value to accept.
cyr_sequence parsed 1,3,4,5
Sections: 2 [1, 1] [3, 5]
cyr_sequence compress 1,3,4,5
cyr_sequence members 1,23:25,28,30:32
1 23 24 25 28 30 31 32