blob: 4258ca5a80f9e100b5fbafaa92b24afd282d57a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
|