This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Description
Prerequisites
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.
|
if(string.IsNullOrEmpty(_line)) |
|
{ |
|
continue; |
|
} |
|
|
|
// add the line to the list if we've skipped enough lines |
|
if (SkippedLines++ >= Skip) |
|
{ |
|
Lines.Add(_line); |
|
} |
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
Version
0.5.0
Visuals
No response