{"id":15678308,"url":"https://github.com/ibara/shuf","last_synced_at":"2026-03-16T18:02:11.006Z","repository":{"id":80378462,"uuid":"97178760","full_name":"ibara/shuf","owner":"ibara","description":"ISC licensed reimplementation of GNU shuf.","archived":false,"fork":false,"pushed_at":"2020-05-04T11:49:00.000Z","size":25,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T05:51:05.998Z","etag":null,"topics":["bsd","c","isc","openbsd","unix","utility"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ibara.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":"2017-07-14T01:15:16.000Z","updated_at":"2025-02-18T08:25:54.000Z","dependencies_parsed_at":"2023-06-06T16:30:50.087Z","dependency_job_id":null,"html_url":"https://github.com/ibara/shuf","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibara%2Fshuf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibara%2Fshuf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibara%2Fshuf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibara%2Fshuf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibara","download_url":"https://codeload.github.com/ibara/shuf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252805697,"owners_count":21807058,"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","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":["bsd","c","isc","openbsd","unix","utility"],"created_at":"2024-10-03T16:19:53.704Z","updated_at":"2026-03-16T18:02:10.924Z","avatar_url":"https://github.com/ibara.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"shuf\n====\n`shuf` is a utility that outputs a random permutation of its input lines.\n\nIt is an ISC licensed reimplementation of the `shuf(1)` utility from GNU\ncoreutils.\n\nUsage\n-----\n```\nshuf [-hv] [-n count] [-o outfile] [-rz] [file]\nshuf [-hv] -e [-n count] [-o outfile] [-rz] [args ...]\nshuf [-hv] -i lo-hi [-n count] [-o outfile] [-rz]\n```\nSee `shuf.1` for more details.\n\nDependencies\n------------\nBecause of its use of OpenBSD\n[`arc4random_uniform(3)`](https://man.openbsd.org/arc4random_uniform.3),\n[`getprogname(3)`](https://man.openbsd.org/getprogname.3),\n[`reallocarray(3)`](https://man.openbsd.org/reallocarray.3), and\n[`strtonum(3)`](https://man.openbsd.org/strtonum.3),\nnon-\\*BSD users may need to install\n[`libbsd`](https://libbsd.freedesktop.org/) to compile `shuf`.\n\n`configure` will figure this out for you.\n\nCompiling\n---------\n```\n./configure\n$ make\n$ sudo make install\n```\n\nReporting bugs\n--------------\nPatches always welcome.\n\n`shuf` should not crash on any input. `shuf` has been extensively fuzzed with\n[`afl-fuzz`](http://lcamtuf.coredump.cx/afl/) but more testing is always\nbetter. Please file a bug report with crashing input if you find any.\n\n`shuf` should perfectly mimic `GNU shuf` behavior, with minimal exceptions.\nTwo notable exceptions are better error messages and more strict getopt\nhandling. If you discover any areas where `shuf` does not mimic `GNU shuf`,\nplease file a bug report.\n\nLicense\n-------\nISC license. See `LICENSE` for details.\n\nDownload\n--------\nTarballs are available under the Releases tab.\nPlease use the versioned tarball instead of the auto-generated tarballs.\n\nSource code\n-----------\nSource code is hosted on GitHub: https://github.com/ibara/shuf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibara%2Fshuf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibara%2Fshuf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibara%2Fshuf/lists"}