TextUtility
TextUtility copied to clipboard
ConvertFrom-TextTable -Skip parameter
Prerequisites
- [X] Write a descriptive title.
- [X] Make sure you are able to repro it on the latest version
- [X] Search the existing issues.
Steps to reproduce
There is some confusing behavior where Skip does not skip the number of lines but rather the number of non-empty lines.
https://github.com/PowerShell/TextUtility/blob/ad78ef8f1416d7b1cdd93a4cf1eb2f4d1d27aa7e/src/code/TextTableParser.cs#L102-L111
Expected behavior
Skip should match the number of input object lines.
Actual behavior
Skip only matches on non-blank lines creating a disconnect between input and what is being processed.
Error details
No response
Environment data
7.4
Version
0.5.0
Visuals
No response