home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zodiac Super OZ
/
MEDIADEPOT.ISO
/
FILES
/
16
/
FREEDOS.ZIP
/
FD_A4PRE.ZIP
/
HELP
/
FIND
< prev
next >
Wrap
Text File
|
1995-06-28
|
2KB
|
67 lines
FIND (utility) Free-DOS Alpha 4 release FIND (utility)
NAME:
FIND - Locates occurences of a string in a text file
SYNOPSIS:
FIND [/C] [/I] [/N] [/Q] [/V] string file..
DESCRIPTION:
FIND locates and displays all occurrences of a specified
string in the text file(s). FIND examines each line of the
text file(s), and prints each line containing the string.
If no file is specified on the command line, FIND will
filter standard input for occurrences of the string. Data
may be piped or redirected into FIND.
OPTIONS:
/C - Counts the number of occurrences of the string only.
/I - Ignores the case of the string when matching.
/N - Displays the line number of each line where the string
is found.
/Q - Suppresses the header line that identifies the file
being searched.
/V - Prints all lines in the file that do NOT contain the
string.
AUTHOR:
(C) 1995 James Hall, modified by Morgan "Hannibal" Toal
EXAMPLES:
The following commands are equivelant in that they all
search a file called FOO.TXT for lines containing the word
"boogers".
FIND boogers foo.txt
TYPE foo.txt | FIND boogers
FIND boogers < foo.txt
-1-