{"id":20277570,"url":"https://github.com/risahamm/simple-bash-utilities","last_synced_at":"2025-08-10T22:32:40.955Z","repository":{"id":297958015,"uuid":"711594552","full_name":"risahamm/Simple-Bash-Utilities","owner":"risahamm","description":"Implementation of Bash text utilities: cat, grep in C programming language.","archived":false,"fork":false,"pushed_at":"2025-04-01T19:05:37.000Z","size":512,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-06-08T16:06:26.930Z","etag":null,"topics":["bash","c-programming","regex","utilities"],"latest_commit_sha":null,"homepage":"","language":"C","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/risahamm.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,"zenodo":null}},"created_at":"2023-10-29T18:31:34.000Z","updated_at":"2025-04-01T17:09:16.000Z","dependencies_parsed_at":"2025-06-08T16:06:27.663Z","dependency_job_id":"a71f1967-5828-4f0f-b62c-e74ea062068f","html_url":"https://github.com/risahamm/Simple-Bash-Utilities","commit_stats":null,"previous_names":["risahamm/simple-bash-utilities"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/risahamm/Simple-Bash-Utilities","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/risahamm%2FSimple-Bash-Utilities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/risahamm%2FSimple-Bash-Utilities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/risahamm%2FSimple-Bash-Utilities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/risahamm%2FSimple-Bash-Utilities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/risahamm","download_url":"https://codeload.github.com/risahamm/Simple-Bash-Utilities/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/risahamm%2FSimple-Bash-Utilities/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269799238,"owners_count":24477630,"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-08-10T02:00:08.965Z","response_time":71,"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":["bash","c-programming","regex","utilities"],"created_at":"2024-11-14T13:19:03.152Z","updated_at":"2025-08-10T22:32:40.945Z","avatar_url":"https://github.com/risahamm.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Bash Utils\n\nImplementation of Bash text utilities: cat, grep. Study project.\n\n- The program is developed in C language of C11 standard using gcc compiler.\n- The program code of the cat and grep is located on the develop branch in the src/cat/ and src/grep/ folders, respectively\n- The code of the program is written in accordance with Google style\n- The program represents files with command line arguments\n- The program is built with Makefile with appropriate targets: s21_cat, s21_grep\n- Integration tests cover all flag variants and input values, based on a comparison with the behavior of real Bash utilities\n- The program is developed according to the principles of structured programming\n\n### cat Usage\n\nCat is one of the most frequently used commands on Unix-like operating systems. It has three related functions with regard to text files: displaying them, combining copies of them and creating new ones.\n\n`cat [OPTION] [FILE]...`\n\n### cat Options\n\n| No.   | Options                                                        | Description                                  |\n|-------|----------------------------------------------------------------|----------------------------------------------|\n| 1     | -b (GNU: --number-nonblank)                                    | numbers only non-empty lines                 |\n| 2     | -e implies -v (GNU only: -E the same, but without implying -v) | but also display end-of-line characters as $ |\n| 3     | -n (GNU: --number)                                             | number all output lines                      |\n| 4     | -s (GNU: --squeeze-blank)                                      | squeeze multiple adjacent blank lines        |\n| 5     | -t implies -v (GNU: -T the same, but without implying -v)      | but also display tabs as ^I                  |\n\n### grep Usage\n\n`grep [options] template [file_name]`\n\n### grep Options\n\n| No.   | Options   | Description                                                    |\n|-------|-----------|----------------------------------------------------------------|\n| 1     | -e        | pattern                                                        |\n| 2     | -i        | Ignore uppercase vs. lowercase.                                |\n| 3     | -v        | Invert match.                                                  |\n| 4     | -c        | Output count of matching lines only.                           |\n| 5     | -l        | Output matching files only.                                    |\n| 6     | -n        | Precede each matching line with a line number.                 |\n| 7     | -h        | Output matching lines without preceding them by file names.    |\n| 8     | -s        | Suppress error messages about nonexistent or unreadable files. |\n| 9     | -f file   | Take regexes from a file.                                      |\n| 10    | -o        | Output the matched parts of a matching line.                   |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frisahamm%2Fsimple-bash-utilities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frisahamm%2Fsimple-bash-utilities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frisahamm%2Fsimple-bash-utilities/lists"}