{"id":15719409,"url":"https://github.com/targetdisk/bash-util","last_synced_at":"2026-06-14T16:35:57.752Z","repository":{"id":158983486,"uuid":"605249719","full_name":"targetdisk/bash-util","owner":"targetdisk","description":"Helpful functions and scripts to aid in scripting and development","archived":false,"fork":false,"pushed_at":"2024-11-14T18:18:50.000Z","size":40,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-08T02:48:42.093Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/targetdisk.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":"2023-02-22T19:07:37.000Z","updated_at":"2024-12-05T19:05:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"e01907a5-254d-4563-90c3-2a2897f9a7a1","html_url":"https://github.com/targetdisk/bash-util","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/targetdisk/bash-util","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/targetdisk%2Fbash-util","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/targetdisk%2Fbash-util/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/targetdisk%2Fbash-util/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/targetdisk%2Fbash-util/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/targetdisk","download_url":"https://codeload.github.com/targetdisk/bash-util/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/targetdisk%2Fbash-util/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34327903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"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":[],"created_at":"2024-10-03T21:55:40.769Z","updated_at":"2026-06-14T16:35:57.716Z","avatar_url":"https://github.com/targetdisk.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bash Helpers\n\nArcane incantations that we're tired of remembering how to do in Bash will end\nup here.  Include me as a submodule in whenever you're writing shell scripts.\n\nPatches welcome!\n\n### Installing\n\nSimply install with `make`!\n```\n# make install\n```\n\nIf you'd like to install it to a different `PREFIX` simply specify one on the\n`make` command-line (or in your environment):\n```\n$ PREFIX=\"$HOME/.local\" make install\n```\n\n### Using in your scripts!\n\nYou can use the bash helpers in two ways:\n\n1. As a Git submodule\n2. From Bash's `$PATH` environment variable.\n\n#### As a Git submodule\n\n```\n$ git submodule add https://github.com/targetdisk/bash-util.git\n```\n\nFrom your scripts you can now source the .bash files relative to the `bash-util`\ndirectory in your tree.\n\n\n#### From Bash's PATH\n\nIf you followed along with the **Installing** section you should have installed\nthe helpers somewhere in your environment's `$PATH`.  If so, you should now be\nable to write scripts like:\n\n```bash\n#!/usr/bin/env bash\n\n. logging.bash\n\ndie \"I am dead now!\"\n\necho \"I never execute!\"\n```\n\nOr even run this in your Bash shell:\n```\n$ . env.bash \u0026\u0026 add_path \"$HOME/.local/bin\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftargetdisk%2Fbash-util","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftargetdisk%2Fbash-util","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftargetdisk%2Fbash-util/lists"}