{"id":14991242,"url":"https://github.com/fransan6/ruby-wc","last_synced_at":"2026-02-02T03:31:16.045Z","repository":{"id":220850737,"uuid":"748181968","full_name":"fransan6/ruby-wc","owner":"fransan6","description":"Ruby version of *nix command `wc`","archived":false,"fork":false,"pushed_at":"2024-04-19T20:11:05.000Z","size":31,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T01:24:37.823Z","etag":null,"topics":["rspec","ruby","unix"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/fransan6.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-25T12:56:26.000Z","updated_at":"2024-04-19T20:11:09.000Z","dependencies_parsed_at":"2024-09-30T03:41:07.520Z","dependency_job_id":"1040b4be-63f7-4624-a534-a952883df9dc","html_url":"https://github.com/fransan6/ruby-wc","commit_stats":{"total_commits":45,"total_committers":2,"mean_commits":22.5,"dds":"0.022222222222222254","last_synced_commit":"479d0005495ec924311f723697f7f5d6640f7ae3"},"previous_names":["fransan6/ruby-wc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fransan6/ruby-wc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fransan6%2Fruby-wc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fransan6%2Fruby-wc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fransan6%2Fruby-wc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fransan6%2Fruby-wc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fransan6","download_url":"https://codeload.github.com/fransan6/ruby-wc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fransan6%2Fruby-wc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261505249,"owners_count":23168994,"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":["rspec","ruby","unix"],"created_at":"2024-09-24T14:21:57.469Z","updated_at":"2026-02-02T03:31:11.014Z","avatar_url":"https://github.com/fransan6.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Usage\n\nRuby version of \\*nix command `wc` with options `-c`, `-l`, `-m` and `-w` to analyse a file:\n\n- `-c` prints the byte count\n- `-l` prints the line count\n- `-m` prints the character count\n- `-w` prints the word count\n\nLeaving out the option gives you `-l`, `-w` and `-c`.\n\n**How to run**\n\n`./rwc [option] [filename]`, for example: `./rwc -c myfile.txt`\n\nIt also supports reading from the standard input when pipe is used:\n\n`cat myfile.txt | ./rwc -m`\n\n### Instruction\n\nTo run this from your local environment, make sure Ruby 3.3.0 is installed. Clone the repository, run `bundle install` and you are good to go.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffransan6%2Fruby-wc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffransan6%2Fruby-wc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffransan6%2Fruby-wc/lists"}