diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..4258ca5 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +This program inverts wildcards for use in shell commands. For example, if you +want a list of all files in the current directory that do *not* end in `.o`, +run: + + ls $(not '*.o') + +Note two things: You'll need to wrap `not` in the `$(...)` syntax to get +command substitution; and, you should wrap your glob(s) in single quotes to +prevent them from being expanded by the shell. You can specify more than one +glob; not will ignore files matching any of the provided globs. + +To build, just run: + + make + +To install, with privileges run: + + make install |