{"id":15450791,"url":"https://github.com/2color/cut","last_synced_at":"2025-03-29T15:27:16.957Z","repository":{"id":19158867,"uuid":"22390388","full_name":"2color/cut","owner":"2color","description":"cut cli tool implemented in D Programming Language","archived":false,"fork":false,"pushed_at":"2014-08-13T17:10:39.000Z","size":212,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T06:35:43.195Z","etag":null,"topics":["bash","cli","dlang","dlang2"],"latest_commit_sha":null,"homepage":"","language":"D","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/2color.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-29T18:19:06.000Z","updated_at":"2017-06-07T08:21:15.000Z","dependencies_parsed_at":"2022-09-04T00:11:52.985Z","dependency_job_id":null,"html_url":"https://github.com/2color/cut","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/2color%2Fcut","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2color%2Fcut/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2color%2Fcut/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2color%2Fcut/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2color","download_url":"https://codeload.github.com/2color/cut/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246202675,"owners_count":20740008,"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":["bash","cli","dlang","dlang2"],"created_at":"2024-10-01T21:19:39.825Z","updated_at":"2025-03-29T15:27:16.934Z","avatar_url":"https://github.com/2color.png","language":"D","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cut\n\ncut cli tool implemented in D2\n\n\n## compiling\n\n`dmd cut.d optionsparser.d`\n\n\n## running tests\n\n```shell\ndmd cut.d optionsparser.d -unittest\n./cut\n```\nMake sure that you see the following lines\n```\ntests: Cut \t passed ✓\ntests: CutOptionsParser \t passed  ✓\n```\n\n## Usage Example\n```\n./cut -b 1-7 data.log\n./cut -f -3 -d \" \" data.log\n./cut -f -3,6,7 -d \" \" data.log\n./cut -f -3,6,7 -d \" \" --complement data.log\n```\n\n## Performance comparsion to the original cut\n\n```\n./cut -f 2- -d \" \" /var/log/install.log \u003e benchmark.log  1.55s user 0.08s system 92% cpu 1.770 total\ncut -f 2- -d \" \" /var/log/install.log \u003e benchmark.log  2.00s user 0.07s system 98% cpu 2.096 total\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2color%2Fcut","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2color%2Fcut","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2color%2Fcut/lists"}