home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Big Blue Disk 11
/
bbd11.zip
/
SEARCH.DOC
< prev
next >
Wrap
Text File
|
1987-06-18
|
2KB
|
57 lines
|D╔══════════════════╗════════════════════════════════════════════════════════════
|D║ |5The Happy Hacker |D║════════════════════════════════════════════════════════════
|D╚══════════════════╝════════════════════════════════════════════════════════════
^C^1KRAMDEN UTILITIES: THE SEARCH COMMAND
^Cby
^CBryan Higgins
The Kramden Utilities are a set of programs which perform many PC functions.
We use them as in-house tools, and find them extremely useful. Whether you are
a hacker or an ordinary user, these utilities will help you make efficient use
of your personal computer.
These programs cannot be run directly from the menu. They work just like DOS
commands (such as COPY, DIR, etc.); invoke them by typing their name followed
by whatever parameters are appropriate. Before using any of the Kramden
Utilities, carefully read its instructions by selecting the Big Blue Disk menu
entry for the utility.
While each Kramden Utility is useful by itself, they can also work together
to do even more. Copy all Kramden Utilities onto one floppy disk or one
subdirectory of a hard disk. Documentation for each utility describes the ways
it can be used in combination with the others. Make sure not to miss an issue
of Big Blue Disk, so you can get a complete set. (Subscription information is
available elsewhere in this issue.)
^C^1SEARCH
The SEARCH command searches files for strings that you specify. When SEARCH
finds a specified string, it displays the line that contains the string. In
this example:
^C^1search *.c,*.exe add
the utility searches all files with .c and .exe extensions for the characters
"add", then displays the lines which contain the string.
The SEARCH command also has an "-f" option:
^C^1search-f *.c,*exe add
When this option is used, the program displays only the names of the files that
contain the string.
Keep in mind that strings are case sensitive. In other words, "add" and
"ADD" are different strings. Finally you should avoid using control characters
like the line feed (^^J) and the carriage return (^^M) in the strings you
specify. Avoid semi-colons (;) as well.
^CCopyright (c) 1985, 1986 by Bryan Higgins
DISK FILES THIS PROGRAM USES:
^FSEARCH.EXE