Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'partition' function #20

Open
sobjornstad opened this issue Oct 12, 2016 · 0 comments
Open

'partition' function #20

sobjornstad opened this issue Oct 12, 2016 · 0 comments

Comments

@sobjornstad
Copy link
Owner

sobjornstad commented Oct 12, 2016

This would be a shortcut tool, which I anticipate working something like this. To replace:

$ dr fd t Signif 1 | dr winnow t Lucid 1 | dr act find
13 matches: [1, 2, 3, ...]
$ dr fd t Signif 1 | dr winnow -v t Lucid 1 | dr act find
32 matches: [100, 101, 102, ...]

With:

$ dr fd t Signif 1 | dr partition t Lucid 1
t Lucid 1 = 13 matches: [1, 2, 3, ...]
-v t Lucid 1 = 32 matches: [100, 101, 102, ...]

Ideally you could specify a non-boolean criterion too somehow, or two alternatives, but I'm not sure how that'd interact with comma-separated header fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant