{"id":20504907,"url":"https://github.com/drveles/bash_utils_c","last_synced_at":"2026-04-20T11:01:59.561Z","repository":{"id":230918715,"uuid":"780460416","full_name":"drveles/bash_utils_c","owner":"drveles","description":"Implementation of bash utilities: cat and grep","archived":false,"fork":false,"pushed_at":"2024-04-07T16:11:59.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T20:56:55.651Z","etag":null,"topics":["bash","c"],"latest_commit_sha":null,"homepage":"","language":"C","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/drveles.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}},"created_at":"2024-04-01T14:30:07.000Z","updated_at":"2024-04-10T17:33:17.000Z","dependencies_parsed_at":"2024-04-01T16:01:07.376Z","dependency_job_id":"69249532-c3dc-4cae-a3b0-f3278c695ba7","html_url":"https://github.com/drveles/bash_utils_c","commit_stats":null,"previous_names":["drveles/bash_utils_c"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/drveles/bash_utils_c","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drveles%2Fbash_utils_c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drveles%2Fbash_utils_c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drveles%2Fbash_utils_c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drveles%2Fbash_utils_c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drveles","download_url":"https://codeload.github.com/drveles/bash_utils_c/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drveles%2Fbash_utils_c/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32044291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T10:33:29.490Z","status":"ssl_error","status_checked_at":"2026-04-20T10:32:30.107Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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"],"created_at":"2024-11-15T19:41:16.677Z","updated_at":"2026-04-20T11:01:59.541Z","avatar_url":"https://github.com/drveles.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bash Utilities\n\nОписание проекта на русском [тут](README_RUS.md)\n\nImplementation of basic Bash utilities in C.\n\n## cat\nCat is one of the most commonly used commands in Unix-like operating systems. \n\n`cat [OPTION] [FILE]...`.\n\n### Compilation and testing\n\nin `./src/cat` directory\n\n`make all` - build app.\n\n### Testing\n\n`sh test_cat.sh` - run application tests.\n\n### cat Options\n\n| No. | Options | Description |\n| ------ | ------ | ------ |\n| 1 | -b (GNU: --number-nonblank) | numbers only non-blank lines |\n| 2 | -e assumes and -v (GNU only: -E is the same, but without -v) | also displays end-of-line characters as $ |\n| 3 | -n (GNU: --number) | numbers all output lines |\n| 4 | -s (GNU: --squeeze-blank) | compresses multiple adjacent blank lines |\n| 5 | -t assumes and -v (GNU: -T is the same but without -v) | also displays tabs as ^I |\n\n\n## grep\n\nA utility for searching files using regular expressions.\n\n`grep [options] template [file_name]`\n\n### Compilation\n\nin `./src/grep` directory\n\n`make all` - build app.\n\n### Testing\n\n`sh test_grep.sh` - run application tests.\n\n### grep Options\n\n|  No. | Options | Description |\n| ------ | ------ | ------ |\n| 1 | -e | template |\n| 2 | -i | Ignores case differences. |\n| 3 | -v | Inverts the meaning of matching. |\n| 4 | -c | Outputs only the number of matching strings. |\n| 5 | -l | Only displays matching files. |\n| 6 | -n | Precedes each line of output with the line number of the input file. |\n| 7 | -h | Outputs matching lines without preceding them with file names. |\n| 8 | -s | Suppresses error messages about non-existent or unreadable files. |\n| 9 | -f file | Retrieves regular expressions from a file. |\n| 10 | -o | Prints only matching (non-empty) parts of a matching string. | \n\nFlags support pairwise combinations (e.g., `-iv`, `-in`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrveles%2Fbash_utils_c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrveles%2Fbash_utils_c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrveles%2Fbash_utils_c/lists"}