|
|
1.1 ! root 1: .so tmac.ilib ! 2: .TH GCOMP 1 "The University of Arizona \- 8/15/83" ! 3: .SH NAME ! 4: gcomp \- global complement of file names ! 5: .SH SYNOPSIS ! 6: \f3gcomp\fP files ! 7: .SH DESCRIPTION ! 8: \fIGcomp\fR produces a list of the files in the current directory ! 9: that do not appear among the arguments. ! 10: For example, ! 11: .DS ! 12: gcomp *.c ! 13: .DE ! 14: produces a list of files in the current directory that do not ! 15: end in \*M.c\fR. ! 16: As another example, to remove all the files in the current directory ! 17: that do not match \*MMakefile\fR, \*M*.c\fR, or \*M*.h\fR, the ! 18: following can be used: ! 19: .DS ! 20: rm `gcomp Makefile *.c *.h` ! 21: .DE ! 22: The files \*M.\fR and \*M..\fR are not included in the output, but other ! 23: `dot files' are. ! 24: .SH BUGS ! 25: \fIGcomp\fR reads the current directory as a file and assumes that all ! 26: directory entires are 16 bytes in length. ! 27: .SH SEE ALSO ! 28: fset(1), gset(1) ! 29: .SH AUTHOR ! 30: William H. Mitchell
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.