beautypg.com

F i n d – Avery Dennison 6035 Programmer Manual Rev.A 7/98 User Manual

Page 117

background image

7/9/98

ROM-DOS 6.22 Command Descriptions 3-59

F I N D

External

Purpose

FIND is a filter to display only lines that contain a specified string.

The input to FIND may come from a file, or it may be piped in from
another filter or a DOS command.

Syntax

FIND [/option] match-string [filename]

Options

/C only displays the count of lines found with the specified string.

/N displays the line number of the line found containing the string.

/V displays the lines that do not contain the string.

match-string specifies the word or group of characters to search for.

filename specifies the file or group of files to search. The complete
drive and path can be specified. Wildcard characters can be used in
the file name.

Examples

FIND printf junk.c

Shows each line in the file JUNK.C containing the match-string printf.