tsv-filter

Filter lines of a TSV file by running tests against…

tsv-filter

Filter lines of a TSV file by running tests against individual fields. More information: https://github.com/eBay/tsv-utils#tsv-filter.

tsv-filter -H --eq {{field_name}}:{{number}} {{path/to/tsv_file}}

tsv-filter --{{eq|ne|lt|le|gt|ge}} {{column_number}}:{{number}} {{path/to/tsv_file}}

tsv-filter --str-{{eq|ne|in-fld|not-in-fld}} {{column_number}}:{{string}} {{path/to/tsv_file}}

tsv-filter --not-empty {{column_number}} {{path/to/tsv_file}}

tsv-filter --invert --not-empty {{column_number}} {{path/to/tsv_file}}

tsv-filter --eq {{column_number1}}:{{number}} --str-eq {{column_number2}}:{{string}} {{path/to/tsv_file}}

tsv-filter --or --eq {{column_number1}}:{{number}} --str-eq {{column_number2}}:{{string}} {{path/to/tsv_file}}

tsv-filter --count -H --eq {{field_name}}:{{number}} {{path/to/tsv_file}}

Также может быть вам интересно:
КодТрюки BashНастройкиТерминал/Консоль
← tsort tts →