4.3BSD/usr/contrib/icon/man/cat1/gcomp.1




GCOMP(1)              Icon Program Library               GCOMP(1)



NNNNAAAAMMMMEEEE
     gcomp - global complement of file names

SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
     ggggccccoooommmmpppp files

DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
     _G_c_o_m_p 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 ....cccc.  As another example, to remove all the files
     in the current directory that do not match MMMMaaaakkkkeeeeffffiiiilllleeee, ****....cccc, or
     ****....hhhh, the following can be used:

          rm `gcomp Makefile *.c *.h`

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

BBBBUUUUGGGGSSSS
     _G_c_o_m_p reads the current directory as a file and assumes that
     all directory entires are 16 bytes in length.

SSSSEEEEEEEE AAAALLLLSSSSOOOO
     fset(1), gset(1)

AAAAUUUUTTTTHHHHOOOORRRR
     William H. Mitchell
























Version 5.9    The University of Arizona - 8/15/83              1