except

The `except` command for Unix text processsing

https://github.com/sixarm/except

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (3.5%) to scientific vocabulary

Keywords

awk command shell unix
Last synced: 9 months ago · JSON representation ·

Repository

The `except` command for Unix text processsing

Basic Info
  • Host: GitHub
  • Owner: SixArm
  • Language: Shell
  • Default Branch: main
  • Size: 3.91 KB
Statistics
  • Stars: 1
  • Watchers: 3
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
awk command shell unix
Created over 9 years ago · Last pushed about 1 year ago
Metadata Files
Readme Code of conduct Citation Codeowners

README.md

The except command for Unix text processing

Print the lines that are in any of the inputs.

Syntax:

union <input> ...

Example:

$ except 1.txt 2.txt
=> lines that are in 1.txt, not 2.txt

Notes

The order doesn't matter.

In set theory, this command is (A except B) a.k.a. (A - B)

This command is currently implemented using awk and POSIX.

Related

Related commands for Unix text processing sets:

  • union: print lines in (A union B)
  • intersect: print lines in (A intersect B)
  • except: print lines in (A except B) a.k.a. (A - B)
  • extra : print lines in (A extra B) a.k.a. (B - A)

Examples:

$ cat 1.txt
alpha
bravo

$ cat 2.txt
alpha
charlie

$ union 1.txt 2.txt
alpha
bravo
charlie

$ intersect 1.txt 2.txt
alpha

$ except 1.txt 2.txt
bravo

$ extra 1.txt 2.txt
charlie

Tracking

  • Program: except
  • Version: 2.0.2
  • Created: 2017-01-30
  • Updated: 2017-01-30
  • License: GPL
  • Contact: Joel Parker Henderson (joel@joelparkerhenderson.com)

Owner

  • Name: SixArm
  • Login: SixArm
  • Kind: organization
  • Email: sixarm@sixarm.com
  • Location: San Francisco

SixArm Software

Citation (CITATION.cff)

cff-version: 1.2.0
title: The `except` command for Unix text processing
message: >-
  If you use this work and you want to cite it,
  then you can use the metadata from this file.
type: software
authors:
  - given-names: Joel Parker
    family-names: Henderson
    email: joel@joelparkerhenderson.com
    affiliation: joelparkerhenderson.com
    orcid: 'https://orcid.org/0009-0000-4681-282X'
identifiers:
  - type: url
    value: 'https://github.com/SixArm/except/'
    description: The `except` command for Unix text processing
repository-code: 'https://github.com/SixArm/except/'
abstract: >-
  The `except` command for Unix text processing
license: See license file

GitHub Events

Total
  • Push event: 1
Last Year
  • Push event: 1

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 6
  • Total Committers: 1
  • Avg Commits per committer: 6.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 1
  • Committers: 1
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Joel Parker Henderson j****l@j****m 6
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels