{"id":16521999,"url":"https://github.com/htruong/grep-csv","last_synced_at":"2026-04-17T13:04:08.691Z","repository":{"id":19124084,"uuid":"22353428","full_name":"htruong/grep-csv","owner":"htruong","description":"Like grep but for headered CSV files","archived":false,"fork":false,"pushed_at":"2014-07-28T19:53:09.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-13T13:30:34.290Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/htruong.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-07-28T18:34:24.000Z","updated_at":"2014-07-28T18:34:58.000Z","dependencies_parsed_at":"2022-07-21T07:00:17.160Z","dependency_job_id":null,"html_url":"https://github.com/htruong/grep-csv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htruong%2Fgrep-csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htruong%2Fgrep-csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htruong%2Fgrep-csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htruong%2Fgrep-csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/htruong","download_url":"https://codeload.github.com/htruong/grep-csv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241596902,"owners_count":19988156,"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":"2024-10-11T16:59:05.165Z","updated_at":"2026-04-17T13:04:08.653Z","avatar_url":"https://github.com/htruong.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"grep-csv\n===\n\nThis tool works like grep but it understands csv files.\n\nIntroduction\n---\n\nHere is how it works:\n\n    $ wget http://www.ferc.gov/docs-filing/eqr/soft-tools/sample-csv/contract.txt\n    \n    # get all contracts where seller_company_name is The Electric Company and prints out contract_execution_date\n    $ cat contract.txt | grep-csv  -f \"seller_company_name\" -v \"The Electric Company\" -p \"contract_execution_date\"\n\n    # get contracts where contract_id is C78 and prints out seller_company_name,customer_company_name,customer_duns_number,contract_affiliate\n    $ cat contract.txt | grep-csv  -f \"contract_id\" -v \"C78\" -p \"seller_company_name,customer_company_name,customer_duns_number,contract_affiliate\"\n\nInstall\n--\n\nMake sure you have go installed. Get it on golang\n\n    $ go get github.com/htruong/grep-csv\n\nThat's all, folks!\n\nQuestions: htruong@tnhh.net","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhtruong%2Fgrep-csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhtruong%2Fgrep-csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhtruong%2Fgrep-csv/lists"}