{"id":21707758,"url":"https://github.com/flightaware/tsvcut-c","last_synced_at":"2025-07-29T13:09:14.830Z","repository":{"id":47692225,"uuid":"100039377","full_name":"flightaware/tsvcut-c","owner":"flightaware","description":"cut out specific fields from a TSV (tab separated values) file containing alternating key-value pairs","archived":false,"fork":false,"pushed_at":"2021-08-17T20:53:41.000Z","size":9,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-08T21:39:22.518Z","etag":null,"topics":["command-line-tool","cut","tsv"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flightaware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-11T14:20:09.000Z","updated_at":"2021-10-23T04:42:42.000Z","dependencies_parsed_at":"2022-08-22T00:40:41.459Z","dependency_job_id":null,"html_url":"https://github.com/flightaware/tsvcut-c","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flightaware%2Ftsvcut-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flightaware%2Ftsvcut-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flightaware%2Ftsvcut-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flightaware%2Ftsvcut-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flightaware","download_url":"https://codeload.github.com/flightaware/tsvcut-c/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244656958,"owners_count":20488683,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-line-tool","cut","tsv"],"created_at":"2024-11-25T22:19:08.954Z","updated_at":"2025-03-20T17:22:07.863Z","avatar_url":"https://github.com/flightaware.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tsvcut-c\n\n_Native C version of bovine/tsvcut_\n\nThis is a simple command-line program to cut out specific fields from\na TSV (tab separated values) file and return just those values.  Its\nbehavior is inspired by the UNIX cut(1) command, but is specifically\ntailored for the TSV file format.\n\nAll TSV input files are expected to be lines of alternating\nkey-value pairs that are separated by tab characters.  The ordering of\nfields can be vary between lines, as long as consistent field names\nare used.  Some lines may include fields that are not present on other\nlines.  For example:\n\n````\ncolor\tblue\tfruit\tblueberry\tprice\t1.99\ncolor\tred\tfruit\tstrawberry\tprice\t3.99\tsale\t2.99\ncolor\tyellow\tprice\t2.49\tfruit\tbanana\n````\n\n## Options\n\n -t Output column names inline, retaining the key-value format... null columns are not output\n\n -h Output column names as header\n\n -n NULL Output NULL string as null\n\n## Examples\n\nThe tsvcut command should be run with the list of desired fields on\nits command-line, and the TSV file supplied as stdin (using\nredirection or pipes):\n\n    tsvcut color price \u003c fruits.tsv\n\n    blue\t1.99\n    red\t3.99\n    yellow\t2.49\n\nIf you specify the -t option, then you will receive the field names too:\n\n    tsvcut -t color price \u003c fruits.tsv\n\n    color\tblue\tprice\t1.99\n    color\tred\tprice\t3.99\n    color\tyellow\tprice\t2.49\n\n## Notes\n\nMaximum line length is 1MB\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflightaware%2Ftsvcut-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflightaware%2Ftsvcut-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflightaware%2Ftsvcut-c/lists"}