Keep rows matching a value
Input
name,status
Alice,active
Bob,inactive
Carol,activeOutput
name,status
Alice,active
Carol,activeFiltered where status equals "active". Two of three rows are kept.
Detected automatically unless you pick one.
This keeps only the rows where a chosen column satisfies a condition, equals, contains, starts with, greater than, is empty, and so on. The header is always preserved, so the result is a valid CSV file.
It is the quick answer to "I only need the rows where status is active" without writing a script or opening a spreadsheet.
Each example below is executed against this tool by the test suite, so what you see is what the tool actually produces.
Input
name,status
Alice,active
Bob,inactive
Carol,activeOutput
name,status
Alice,active
Carol,activeFiltered where status equals "active". Two of three rows are kept.
The details that decide whether a conversion is correct, and where information can be lost without any error being raised.