Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.
Options read later will override earlier options.
Three types of FILTERs are currently supported:
The extension list filter allows you to specify a comma-separated list of file extensions which are to be considered as belonging to file type TYPE. For example:
will search all files with extensions *.abc, *.xqz, and *.def in the directory tree rooted at the current working directory for the literal string 'Pattern'.
The literal filename filter simply specifies a single literal filename which is to be considered as belonging to file type TYPE.
Example:
This will search only files named exactly 'configure.ac' for the literal string 'Pattern'.
The glob filter allows you to specify a glob pattern to match against filenames. If the glob matches, the file is considered as belonging to the file type TYPE.
Example:
This will search only files which match the shell glob pattern '?akefile*' (e.g. Makefile, makefile, Bakefile.bkl, etc.) for the literal string 'Pattern'
The official UniversalCodeGrep site <URL: https://github.com/gvansickle/ucg > on GitHub.