The proposed patch fixes the problem with parsing TSV lines that contain trailing empty columns (for example, something like "1\t2\t3\t\t", which should be expected to become an ["1", "2", "3", "", ""] array). Using additional -1 argument with split invocation solves this problem.
The proposed patch fixes the problem with parsing TSV lines that contain trailing empty columns (for example, something like
"1\t2\t3\t\t"
, which should be expected to become an["1", "2", "3", "", ""]
array). Using additional-1
argument withsplit
invocation solves this problem.