{"id":28628270,"url":"https://github.com/fgeller/csv","last_synced_at":"2025-06-12T10:11:53.778Z","repository":{"id":21519181,"uuid":"24838327","full_name":"fgeller/csv","owner":"fgeller","description":"cut for CVS files","archived":false,"fork":false,"pushed_at":"2014-12-14T03:19:18.000Z","size":372,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-12T04:48:11.972Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fgeller.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-06T08:14:25.000Z","updated_at":"2020-10-16T12:07:43.000Z","dependencies_parsed_at":"2022-08-21T02:40:14.957Z","dependency_job_id":null,"html_url":"https://github.com/fgeller/csv","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/fgeller/csv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgeller%2Fcsv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgeller%2Fcsv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgeller%2Fcsv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgeller%2Fcsv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fgeller","download_url":"https://codeload.github.com/fgeller/csv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgeller%2Fcsv/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259444983,"owners_count":22858553,"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":[],"created_at":"2025-06-12T10:11:52.659Z","updated_at":"2025-06-12T10:11:53.766Z","avatar_url":"https://github.com/fgeller.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"csv -- cut for CSV files.\n========================\n\nPrint selected comma separated values from each file to standard output.\n\ncsv is modeled after GNU coreutils' cut, but with CSV files in mind. The goal is\nto process possibly large CSV files (\u003e100MB) fairly efficiently and select\ncolumns conveniently.\n\nExamples\n--------\n\n    $ cat sample.csv\n    first name,last name,favorite pet\n    hans,hansen,moose\n    peter,petersen,monarch\n    $ go install github.com/fgeller/csv\n    $ csv -c2-3 sample.csv\n    last name,favorite pet\n    hansen,moose\n    petersen,monarch\n    $ csv -n\"favorite pet\" sample.csv\n    favorite pet\n    moose\n    monarch\n    $ csv -n\"favorite pet\" --complement sample.csv\n    first name,last name\n    hans,hansen\n    peter,petersen\n    $ unix2dos sample.csv\n    unix2dos: converting file sample.csv to DOS format...\n    $ csv -N\"last name\" sample.csv \n    last name\n    hansen\n    petersen\n    $ \n\n\nReferences\n----------\n\n* [cut invocation] (https://www.gnu.org/software/coreutils/manual/html_node/cut-invocation.html#cut-invocation)\n* [RFC4180](https://www.rfc-editor.org/rfc/rfc4180.txt)\n* [GNU coreutils](http://www.gnu.org/software/coreutils/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgeller%2Fcsv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffgeller%2Fcsv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgeller%2Fcsv/lists"}