{"id":22808432,"url":"https://github.com/sixarm/extra","last_synced_at":"2026-04-30T10:37:32.642Z","repository":{"id":137270321,"uuid":"80499339","full_name":"SixArm/extra","owner":"SixArm","description":"The `extra` command for Unix text processing","archived":false,"fork":false,"pushed_at":"2025-04-14T08:43:25.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-14T09:44:46.053Z","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":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-31T07:17:24.000Z","updated_at":"2025-04-14T08:43:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"62838a2a-1d1e-467b-a27b-437649059aca","html_url":"https://github.com/SixArm/extra","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SixArm/extra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Fextra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Fextra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Fextra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Fextra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SixArm","download_url":"https://codeload.github.com/SixArm/extra/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Fextra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32462304,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"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":["awk","command","shell","unix"],"created_at":"2024-12-12T11:09:49.648Z","updated_at":"2026-04-30T10:37:32.625Z","avatar_url":"https://github.com/SixArm.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The `extra` command for Unix text processing\n\nPrint the lines that are in any of the inputs.\n\nSyntax:\n\n    extra \u003cinput\u003e ...\n\nExample:\n\n    $ extra 1.txt 2.txt\n    =\u003e lines that are not in 1.txt, but are in 2.txt.\n\n\n## Notes\n\nThe order doesn't matter.\n\nIn set theory, this command is (A extra B) a.k.a. (B - A).\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: extra\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%2Fextra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsixarm%2Fextra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsixarm%2Fextra/lists"}