{"id":28220340,"url":"https://github.com/manishdait/java-wordcount","last_synced_at":"2025-06-11T13:31:04.568Z","repository":{"id":219066761,"uuid":"746255235","full_name":"manishdait/java-wordcount","owner":"manishdait","description":"jwc a simple cmd base application written in Java that provides functionality similar to the 'wc' command in Linux. It enables users to count words, lines, characters, and bytes in text files.","archived":false,"fork":false,"pushed_at":"2024-03-20T12:54:08.000Z","size":158,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-18T04:15:12.272Z","etag":null,"topics":["java","wordcount"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manishdait.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-01-21T14:35:06.000Z","updated_at":"2024-08-25T06:44:44.000Z","dependencies_parsed_at":"2024-02-10T16:29:09.467Z","dependency_job_id":"9e1bf80d-b8b8-40ad-bea1-0365e6866475","html_url":"https://github.com/manishdait/java-wordcount","commit_stats":null,"previous_names":["manishdait/j-wordcount","manishdait/java-wordcount"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manishdait%2Fjava-wordcount","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manishdait%2Fjava-wordcount/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manishdait%2Fjava-wordcount/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manishdait%2Fjava-wordcount/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manishdait","download_url":"https://codeload.github.com/manishdait/java-wordcount/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manishdait%2Fjava-wordcount/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259273850,"owners_count":22832414,"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":["java","wordcount"],"created_at":"2025-05-18T04:15:02.097Z","updated_at":"2025-06-11T13:31:04.331Z","avatar_url":"https://github.com/manishdait.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jwc - Java Word Count\n\njwc is a command-line tool written in Java that provides functionality similar to the 'wc' command in Linux. It enables users to count words, lines, characters, and bytes in text files.\n\n## Features\n\n- Counts the number of words, lines, characters and bytes in a given text file.\n- Supports processing multiple files at once.\n- Provides options for specifying the output format and additional statistics.\n- Easy to install and use.\n- \n## Usage\n\n```bash\njwc [options] [file1] [file2] ...\n```\n\n## Options\n- **`-c`, `--bytes`**:Print the byte counts\n- **`-m`, `--chars`**: Print the character counts.\n- **`-l`, `--lines`**: Print the line counts.\n- **`-w`, `--words`**: Print the word counts.\n- **`--help`**: Display help message and usage instructions.\n- **`--version`**: Output version information.\n\n## Installation\n\nTo use jwc, you need to have Java installed on your system. You can download and install Java from [Oracle's website](https://www.oracle.com/java/technologies/javase-jdk11-downloads.html) or use a package manager like [Homebrew](https://brew.sh/) (for macOS) or [APT](https://help.ubuntu.com/community/AptGet/Howto) (for Ubuntu Linux).\n\nOnce Java is installed, you can download the jwc binary from the [releases page](https://github.com/ManishDait/java-wordcount/releases).\n\n### Debian Package (.deb)\n\nTo install jwc using the Debian package, download the `.deb` file from the [releases page](https://github.com/ManishDait/java-wordcount/releases) and run the following command:\n\n```bash\nsudo dpkg -i jwc-1.0.deb\n```\n```bash\njwc [options] [file1] [file2] ...\n```\n\n### JAR File\n\nIf you prefer to use the JAR file directly, download the `jwc-v.1.0.jar` file from the [releases page](https://github.com/ManishDait/java-wordcount/releases) and run the following command:\n\n```bash\njava -jar jwc-v.1.0.jar [options] [file1] [file2] ...\n```\nReplace `[options] [file1] [file2] ...` with the appropriate command-line arguments and filenames.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanishdait%2Fjava-wordcount","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanishdait%2Fjava-wordcount","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanishdait%2Fjava-wordcount/lists"}