mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
doc update
This commit is contained in:
@ -1,11 +1,12 @@
|
|||||||
jc changelog
|
jc changelog
|
||||||
|
|
||||||
20220309 v1.18.6 (in progress)
|
20220323 v1.18.6
|
||||||
- Add pidstat command parser tested on linux
|
- Add pidstat command parser tested on linux
|
||||||
- Add pidstat command streaming parser tested on linux
|
- Add pidstat command streaming parser tested on linux
|
||||||
- Add mpstat command parser tested on linux
|
- Add mpstat command parser tested on linux
|
||||||
- Add mpstat command streaming parser tested on linux
|
- Add mpstat command streaming parser tested on linux
|
||||||
- Add ASCII table parser
|
- Add single-line ASCII and Unicode table parser
|
||||||
|
- Add multi-line ASCII and Unicode table parser
|
||||||
- Add documentation option to parser_info() and all_parser_info()
|
- Add documentation option to parser_info() and all_parser_info()
|
||||||
|
|
||||||
20220305 v1.18.5
|
20220305 v1.18.5
|
||||||
|
@ -252,7 +252,7 @@ def _fixup_separators(line: str) -> str:
|
|||||||
|
|
||||||
def _normalize_rows(table_lines: Iterable[str]) -> List[Tuple[int, List[str]]]:
|
def _normalize_rows(table_lines: Iterable[str]) -> List[Tuple[int, List[str]]]:
|
||||||
"""
|
"""
|
||||||
Return a List of tuples of a row counters and data lines.
|
Return a List of tuples of row-counters and data lines.
|
||||||
"""
|
"""
|
||||||
result = []
|
result = []
|
||||||
header_found = False
|
header_found = False
|
||||||
@ -293,7 +293,7 @@ def _normalize_rows(table_lines: Iterable[str]) -> List[Tuple[int, List[str]]]:
|
|||||||
row_counter += 1
|
row_counter += 1
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# subsequent data row found
|
# data row found
|
||||||
if not _is_separator(line) and header_found and data_found:
|
if not _is_separator(line) and header_found and data_found:
|
||||||
line = _fixup_separators(line)
|
line = _fixup_separators(line)
|
||||||
line_list = line.split('|')
|
line_list = line.split('|')
|
||||||
|
Reference in New Issue
Block a user