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

Add option --test to test a pattern against an argument #30

Open
hollasch opened this issue Jun 27, 2018 · 1 comment
Open

Add option --test to test a pattern against an argument #30

hollasch opened this issue Jun 27, 2018 · 1 comment
Labels

Comments

@hollasch
Copy link
Owner

For example:

pathmatch --test foo/.../bar foo/aaa/bbb/ccc/bar

One idea: --test is quiet, while --match prints matches. Perhaps --unmatch prints non matches.

Related to #1. Perhaps a --stdin or empty -- flag switches from command-line arguments to reading from standard input.

@hollasch hollasch changed the title Add option to test/filter a set of arguments against a specified filter Add options --test, --filter to test/filter a set of arguments against a specified filter Sep 15, 2020
@hollasch
Copy link
Owner Author

The --filter option is covered in #1

@hollasch hollasch changed the title Add options --test, --filter to test/filter a set of arguments against a specified filter Add option --test to test a pattern against an argument Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant