hollasch / pathmatch

A directory/filename pattern match utility for the Windows command shell
MIT License
6 stars 3 forks source link

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

Open hollasch opened 6 years ago

hollasch commented 6 years ago

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 commented 4 years ago

The --filter option is covered in #1