{"id":28918007,"url":"https://github.com/larryv/binfiles","last_synced_at":"2026-02-01T12:41:34.730Z","repository":{"id":137550444,"uuid":"600657715","full_name":"larryv/binfiles","owner":"larryv","description":"Miscellaneous wrapper scripts","archived":false,"fork":false,"pushed_at":"2023-06-27T00:24:07.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-22T01:06:09.771Z","etag":null,"topics":["unix","wrapper-script"],"latest_commit_sha":null,"homepage":"","language":"M4","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/larryv.png","metadata":{"files":{"readme":".github/README.adoc","changelog":null,"contributing":null,"funding":null,"license":"COPYING.txt","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-02-12T06:56:24.000Z","updated_at":"2023-06-26T16:40:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"51eb61b2-1a65-44fb-943a-c080996d6ee7","html_url":"https://github.com/larryv/binfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/larryv/binfiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larryv%2Fbinfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larryv%2Fbinfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larryv%2Fbinfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larryv%2Fbinfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/larryv","download_url":"https://codeload.github.com/larryv/binfiles/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larryv%2Fbinfiles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28978180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T12:13:08.691Z","status":"ssl_error","status_checked_at":"2026-02-01T12:13:08.356Z","response_time":56,"last_error":"SSL_read: 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":["unix","wrapper-script"],"created_at":"2025-06-22T01:06:09.658Z","updated_at":"2026-02-01T12:41:34.725Z","avatar_url":"https://github.com/larryv.png","language":"M4","readme":"////\n.github/README.adoc\n-------------------\n\nSPDX-License-Identifier: CC0-1.0\n\nWritten in 2023 by Lawrence Velázquez \u003cvq@larryv.me\u003e.\n\nTo the extent possible under law, the author has dedicated all\ncopyright and related and neighboring rights to this software to the\npublic domain worldwide.  This software is distributed without any\nwarranty.\n\nYou should have received a copy of the CC0 Public Domain Dedication\nalong with this software.  If not, see\n\u003chttps://creativecommons.org/publicdomain/zero/1.0/\u003e.\n////\n\n\n= binfiles\n:source-language: sh\n\nThese are some utilities that are too tiny to have their own home.\n\n`grep_`:: Runs `grep{nbsp}--color=auto`, passing along any given\narguments.\n\n`ls_`:: Runs `ls{nbsp}-AFh`, passing along any given arguments.  If `-A`\nis not recognized, then `-a` is used instead; other unrecognized options\nare omitted without replacement.  (Option support is tested at build\ntime.)\n\n\n== Requirements\n\n:url-posix: https://pubs.opengroup.org/onlinepubs/9699919799/utilities\n:url-zsh: https://zsh.sourceforge.io\n\n* A\nhttps://www.in-ulm.de/~mascheck/bourne/[Bourne,\ntitle=~sven_mascheck/ - The Traditional Bourne Shell Family]\nor\n{url-posix}/V3_chap02.html[POSIX,\ntitle=POSIX.1-2017 - XCU Chapter 2 (Shell Command Language)](-ish)\nshell.  The shells I have at hand are\nhttps://www.gnu.org/software/bash/[bash],\nhttp://gondor.apana.org.au/~herbert/dash/[dash],\nhttp://www.kornshell.org[ksh93],\nhttp://mirbsd.de/mksh[mksh],\nhttps://yash.osdn.jp[yash],\nand\n{url-zsh}[zsh];\nother shells are supported on a best-effort basis.  (NB: zsh must be\nused in\n{url-zsh}/Doc/Release/Invocation.html#Compatibility[ksh or sh\ncompatibility mode, title=Z Shell Manual - Section 4.2 (Compatibility)].)\n\n* A typical Unix(-like) toolset, including:\n\n** `grep(1)` with `--color=auto`\n\n** `{url-posix}/m4.html[m4(1),\ntitle=POSIX.1-2017 - XCU Chapter 4 (Utilities - m4)]`\n(for build only)\n\n** `{url-posix}/make.html[make(1),\ntitle=POSIX.1-2017 - XCU Chapter 4 (Utilities - make)]`\n(for build only)\n\n* https://www.shellcheck.net[ShellCheck]\n(for `make{nbsp}check` only)\n\n\n== Installation and uninstallation\n\nifdef::env-github[]\n:link-makefile: link:../Makefile\nendif::[]\nifndef::env-github[]\n:link-makefile: https://github.com/larryv/binfiles/blob/main/Makefile\nendif::[]\n\nRun these commands from the directory containing\n{link-makefile}[the makefile] (using `make{nbsp}-C` is fine).  Feel free\nto replace\n`https://www.sudo.ws[sudo(1)]`\nwith another tool (e.g.,\n`https://man.openbsd.org/doas[doas(1),\ntitle=OpenBSD manual pages - doas(1)]`)\nor omit it entirely if elevated privileges are not desired.\n\n* To install under `/usr/local` (the default) or some other path:\n+\n--\n[source]\nmake \u0026\u0026 sudo make install\n\n[source]\nmake \u0026\u0026 sudo make prefix=/some/other/path install\n--\n\n* To uninstall from `/usr/local` (the default) or some other path:\n+\n--\n[source]\nsudo make uninstall\n\n[source]\nsudo make prefix=/some/other/path uninstall\n--\n\n* To run basic tests:\n+\n[source]\nmake check\nmake installcheck\n\n* To clean up:\n+\n[source]\nmake clean\n\n:title-make-man: GNU Make Manual\n:title-make-man-cmdvars: {title-make-man} - \\\n    Variables for Specifying Commands\n:title-make-man-dirvars: {title-make-man} - \\\n    Variables for Installation Directories\n:url-make-man: https://www.gnu.org/software/make/manual/html_node\n:url-make-man-cmdvars: {url-make-man}/Command-Variables.html\n:url-make-man-dirvars: {url-make-man}/Directory-Variables.html\n\nThe following `make(1)` macros are available for modifying the build\nprocess (as demonstrated above with `prefix`).  Refer to\n{link-makefile}[the makefile] for their default values.\n\n* `{url-make-man-dirvars}#index-bindir[bindir,\ntitle={title-make-man-dirvars} - bindir]`,\n`{url-make-man}/DESTDIR.html[DESTDIR,\ntitle={title-make-man} - DESTDIR: Support for Staged Installs]`,\n`{url-make-man-dirvars}#index-exec_005fprefix[exec_prefix,\ntitle={title-make-man-dirvars} - exec_prefix]`,\nand\n`{url-make-man-dirvars}#index-prefix[prefix,\ntitle={title-make-man-dirvars} - prefix]`\nare installation directories.\n\n* `GREP` is the `grep(1)` command hard-coded into `grep_`.\n\n* `LS` is the `ls(1)` command hard-coded into `ls_`.\n\n* `SHELL` is the shell hard-coded into the shebangs of shell scripts.\n  (For some `make(1)` implementations, it is also the shell used to\n  execute command lines.)\n\n* `{url-make-man-cmdvars}[INSTALL,\ntitle={title-make-man-cmdvars}]`,\n`{url-make-man-cmdvars}[INSTALL_PROGRAM,\ntitle={title-make-man-cmdvars}]`,\n`M4` (with `M4FLAGS`) and `SHELLCHECK` (with `SHELLCHECKFLAGS`) are\ncommands invoked by the build process.\n\n\n== Legal\n\n:title-cc0: CC0 1.0 Universal Public Domain Dedication\nifdef::env-github[]\n:link-cc0: link:../COPYING.txt\nendif::[]\nifndef::env-github[]\n:link-cc0: https://creativecommons.org/publicdomain/zero/1.0/\n:title-cc0: Creative Commons - {title-cc0}\nendif::[]\n\nTo the extent possible under law, the author has\n{link-cc0}[dedicated, title={title-cc0}]\nall copyright and related and neighboring rights to this software to the\npublic domain worldwide.  This software is published from the United\nStates of America and distributed without any warranty.\n\nRefer to\nifdef::env-github[`link:../install-sh[install-sh]`]\nifndef::env-github[`install-sh`]\nfor its separate licensing terms.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarryv%2Fbinfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flarryv%2Fbinfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarryv%2Fbinfiles/lists"}