mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:04:59 +00:00
cut: Don't ignore empty fields
This commit is contained in:
parent
b17aa47769
commit
230a873e0e
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ static void process_line_bytes(StringView line, Vector<Range> const& ranges)
|
|||
|
||||
static void process_line_fields(StringView line, Vector<Range> const& ranges, char delimiter)
|
||||
{
|
||||
auto string_split = DeprecatedString(line).split(delimiter);
|
||||
auto string_split = DeprecatedString(line).split(delimiter, SplitBehavior::KeepEmpty);
|
||||
Vector<DeprecatedString> output_fields;
|
||||
|
||||
for (auto& range : ranges) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue