{"id":25171686,"url":"https://github.com/basemax/dcat","last_synced_at":"2026-03-14T07:02:29.520Z","repository":{"id":151535289,"uuid":"278863734","full_name":"BaseMax/dcat","owner":"BaseMax","description":"Implementation cat unix tools using pure C programming language. cat is a standard Unix utility that reads files sequentially, writing them to standard output. (cat: concatenate files)","archived":false,"fork":false,"pushed_at":"2020-07-11T13:53:06.000Z","size":42,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-29T23:48:14.836Z","etag":null,"topics":["c","cat","dcat","donya","donya-os","donyaos","unix-tool","unix-tools"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BaseMax.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-07-11T13:08:29.000Z","updated_at":"2024-05-19T12:48:53.000Z","dependencies_parsed_at":"2023-07-10T14:00:31.166Z","dependency_job_id":null,"html_url":"https://github.com/BaseMax/dcat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BaseMax/dcat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fdcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fdcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fdcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fdcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaseMax","download_url":"https://codeload.github.com/BaseMax/dcat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fdcat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273069947,"owners_count":25040165,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["c","cat","dcat","donya","donya-os","donyaos","unix-tool","unix-tools"],"created_at":"2025-02-09T09:21:37.546Z","updated_at":"2025-10-23T18:12:07.765Z","avatar_url":"https://github.com/BaseMax.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dcat\n\nImplementation **cat** unix tools using pure **C programming language**. (Just a draft tool for Donya OS)\n\n## Features\n\n- Tiny code\n- Good performance\n- Support most features of unix `cat` tool\n- Concatenation some files to one output\n- Read from **STDIN**\n- Depends on glibc\n\n## Help\n\n```\nUsage: dcat [OPTION]... [FILE]...\nConcatenate FILE(s) to standard output.\n\nWith no FILE, or when FILE is -, read standard input.\n\n-l, --learn              learn and read offline documentation\n-A, --show-all           equivalent to -vET\n-b, --number-nonblank    number nonempty output lines, overrides -n\n-e                       equivalent to -vE\n-E, --show-ends          display $ at end of each line\n-n, --number             number all output lines\n-s, --squeeze-blank      suppress repeated empty output lines\n-t                       equivalent to -vT\n-T, --show-tabs          display TAB characters as ^I\n-u                      (ignored)\n-v, --show-nonprinting   use ^ and M- notation, except for LFD and TAB\n--help     display this help and exit\n--version  output version information and exit\n\nExamples:\ndcat f - g  Output f's contents, then standard input, then g's contents.\ndcat        Copy standard input to standard output.\n\nProgramming by Max Base\nFull documentation at: \u003chttps://github.com/basemac/dcat\u003e\nor available locally via: 'dcat --learn'\n```\n\n### Using\n\n**max@base:~/Desktop$ ./dcat -n dcat.c**\n\n```\noption -n\n\nReading donya_cat.c\n     1\t/     1\t*\n     2\t * @Name: dcat: cat - Donya OS\n     3\t * @Author: Max Base\n     4\t * @Repository: github.com/basemax/dcat\n     5\t * @Date: 2020-07-11\n     6\t*/\n...\n```\n\n**max@base:~/Desktop$ ./dcat dcat.c**\n\n```\nReading donya_cat.c\n/*\n * @Name: dcat: cat - Donya OS\n * @Author: Max Base\n * @Repository: github.com/basemax/dcat\n * @Date: 2020-07-11\n*/\n...\n```\n\n### Version\n\n```\ndcat (Donya OS) 1.0\nCopyright (C) 2020 Max Base.\nLicense GPLv3+: GNU GPL version 3 or later \u003chttp://gnu.org/licenses/gpl.html\u003e.\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n\nWritten by Max Base.\n```\n\n### What's cat?\n\ncat is a standard Unix utility that reads files sequentially, writing them to standard output.\n\nThe name is derived from its function to concatenate files.\n\n\nRead more about cat at https://en.wikipedia.org/wiki/Cat_(Unix)\n\n### Build and Compile\n\n```\ngit clone https://github.com/BaseMax/dcat\ncd dcat\ngcc dcat.c -o dcat -O3\n./dcat --version\n```\n\n### TODO\n\nAll features not ready:\n\n- `-s`\n- `-b`\n- `-v`\n- ...\n\nI accept your contribute or help to develop this tool.\n\n## More than 10 similar software\n\nYou can read read and learn from these:\n\n- https://gist.github.com/pete/665971\n- https://github.com/Stichting-MINIX-Research-Foundation/minix/blob/master/bin/cat/cat.c\n- https://opensource.apple.com/source/text_cmds/text_cmds-71/cat/cat.c\n- https://github.com/coreutils/coreutils/blob/master/src/cat.c\n\n---------\n\n# Max Base\n\nMy nickname is Max, Programming language developer, Full-stack programmer. I love computer scientists, researchers, and compilers. ([Max Base](https://maxbase.org/))\n\n## Asrez Team\n\nA team includes some programmer, developer, designer, researcher(s) especially Max Base.\n\n[Asrez Team](https://www.asrez.com/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fdcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasemax%2Fdcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fdcat/lists"}