Incode Systems Home Page Incode Systems, Inc.


FINDLINE



(04-11-1996 4:34pm FINDLINE.EXE)
FINDLINE - (C) Copyright Glenn B. Lawler, 1989. All Rights Reserved.


Usage: [options] "Search_String"/SrchFile [FileToSearch] [OutputFile]
If FileToSearch and/or OutputFile is given they override StdIn and StdOut.
If OutputFile is given, and it exists, Output is appended

Options:
-A = "And" is used (instead of or) for multiple search
(all strings must be found in Line)
-C = Return count of Lines found (only)
-F = Return file name (only) where Line is found
-D = Search subdirectories
-E = Count EACH item in line instead of line count (use with -C or -Nn)
-I = Ignore upper/lower case distinctions
-Ln = Length of KEY (ex: /L5)
-Nn = Return the Nth Line found (only)
-N = Return the line number
-V = Return Lines that DO NOT match
-+n = Starting position (column) of KEY (ex: /+25)
-W = Whole words only

Parameter specified single search string when double (")
or single "'" quoted.
If not quoted, assumed to be a file, containing one or
more search strings to be checked.
Lines in the StdIn are considered to be separated by
carriage returns. If any one of the search strings is found
in the Line, the entire Line is sent to the StdOut.

Maximum line length is 255.