Skip to content

Commit

Permalink
utz>=0.13, bmdf>=0.4, comm-x doc tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed Dec 30, 2024
1 parent d02784c commit 981aedc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,16 @@ echo '{"a":1,"b":3}' | jq > 2.json
```

### `comm-x` <a id="comm-x"></a>
`comm` essentially performs set intersection/difference; `comm-x` allows you to run a pipeline of commands on each input, before comparing them.

#### Usage <a id="comm-x-usage"></a>
<!-- `bmdf comm-x` -->
```bash
comm-x
# Usage: comm-x [OPTIONS] [exec_cmd...] <path1> <path2>
#
# Compare (`comm`) two files after running them through a pipeline of other
# commands.
# Select or reject lines common to two input streams, after running each
# through a pipeline of other commands.
#
# Options:
# -1, --exclude-1 Exclude lines only found in the first pipeline
Expand Down
2 changes: 1 addition & 1 deletion qmdx/comm_x/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def main(
exec_cmds: Tuple[str, ...],
args: Tuple[str, ...],
):
"""Compare (`comm`) two files after running them through a pipeline of other commands."""
"""Select or reject lines common to two input streams, after running each through a pipeline of other commands."""
if len(args) < 2:
raise ValueError('Must provide at least two files to comm')

Expand Down
2 changes: 1 addition & 1 deletion requirements-ci.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
bmdf>=0.3.6
bmdf>=0.4.0
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
click
utz>=0.12.2
utz>=0.13.0

0 comments on commit 981aedc

Please sign in to comment.