Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Search for and examine AIPS++ sources.
squiz [-c category] [-e|-E expression] [-l] [-F] [-p package] [file]
squiz searches for AIPS++ source files and optionally searches for strings inside the files it finds. Wildcarding is allowed in the file specification and the search is case insensitive by default.
If no file is specified the default is to search for (i.e. list) all files.
Whitespace is allowed between short-form options and their arguments.
Status return values
0
: success
1
: initialization error
The following command will search for all files in and below the implement directory of the aips package (that is code/aips/implement/...) whose name contains the string ``aips'' (case insensitive) and will search inside each file that it finds looking for the string ``debug'' (case insensitive).
squiz -c imp -e debug -p aips "*aips*"
The following simply counts the number of files in the doc package:
squiz -p doc | wc -l
Finally, this example will list out all files that contain the expression ``plonk'':
squiz -l -e plonk
The unix manual page for grep(1).
§1.1.1, AIPS++ directory structure.
Original: 1994/07/28 by Mark Calabretta, ATNF
Modified: 1997/05/30 by Pat Murphy, NRAO