gcomp.icn: Program to produce complement of file specification

December 27, 1989; William H. Mitchell, modified by Ralph E. Griswold
Requires: UNIX
This file is in the public domain.
   This program produces a list of the files in the current directory
that do not appear among the arguments.  For example,

     gcomp *.c

produces a list of files in the current directory that do
not end in .c.  As another example, to remove all the files
in the current directory that do not match Makefile, *.c, and *.h
the following can be used:

     rm `gcomp Makefile *.c *.h`

The files . and .. are not included in the output, but other
`dot files' are.

Source code | Program Library Page | Icon Home Page