{"id":22808170,"url":"https://github.com/sixarm/union","last_synced_at":"2026-04-29T09:04:20.702Z","repository":{"id":137270574,"uuid":"80499253","full_name":"SixArm/union","owner":"SixArm","description":"The `union` command for Unix text processing","archived":false,"fork":false,"pushed_at":"2025-04-14T09:23:38.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-08T23:39:40.691Z","etag":null,"topics":["awk","command","shell","unix"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/SixArm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-01-31T07:15:23.000Z","updated_at":"2025-04-14T09:23:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"c201f9df-f468-4b58-b875-e310d5ff32c9","html_url":"https://github.com/SixArm/union","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SixArm/union","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Funion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Funion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Funion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Funion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SixArm","download_url":"https://codeload.github.com/SixArm/union/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Funion/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32418183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"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":["awk","command","shell","unix"],"created_at":"2024-12-12T11:08:15.792Z","updated_at":"2026-04-29T09:04:20.697Z","avatar_url":"https://github.com/SixArm.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The `union` command for Unix text processing\n\nPrint the lines that are in any of the inputs.\n\nSyntax:\n\n    union \u003cinput\u003e ...\n\nExample:\n\n    $ union 1.txt 2.txt\n    =\u003e lines that are in either of the files.\n\n\n## Notes\n\nThe order doesn't matter.\n\nIn set theory, this command is (A union B).\n\nThis command is currently implemented using `awk` and POSIX.\n\n\n## Related\n\nRelated commands for Unix text processing sets:\n\n* [`union`](https://github.com/sixarm/union): print lines in (A union B)\n* [`intersect`](https://github.com/sixarm/intersect): print lines in (A intersect B)\n* [`except`](https://github.com/sixarm/except): print lines in (A except B) a.k.a. (A - B)\n* [`extra`](https://github.com/sixarm/extra) : print lines in (A extra B) a.k.a. (B - A)\n\nExamples:\n\n    $ cat 1.txt\n    alpha\n    bravo\n\n    $ cat 2.txt\n    alpha\n    charlie\n\n    $ union 1.txt 2.txt\n    alpha\n    bravo\n    charlie\n\n    $ intersect 1.txt 2.txt\n    alpha\n\n    $ except 1.txt 2.txt\n    bravo\n\n    $ extra 1.txt 2.txt\n    charlie\n\n\n## Tracking\n\n* Program: union\n* Version: 2.0.2\n* Created: 2017-01-30\n* Updated: 2017-01-30\n* License: GPL\n* Contact: Joel Parker Henderson (joel@joelparkerhenderson.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsixarm%2Funion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsixarm%2Funion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsixarm%2Funion/lists"}