SHORTIES\LINES.DOC ·
DOC ·
980 B ·
1991-06-01 ·
from PCPlus_Issue-57_Jun-1991_FluxEngine-360Kb
LINES
David Selwood
The LINES program asks for a name of a text file and the text
to be searched for, the program will then display all the
lines of text that match the text searched for.
This is very useful for modern programming that use libraries
or modules. For example in Modula 2 or Pascal if the text
searched for was PROCEDURE then all the titles of the routines
would be displayed. This output could then be used for
reference.
To Use
Move to the directory in which the program Lines resides and
type 'LINES' [RETURN].
Enter the name of the file to be searched for including the
path if the file is not in the current directory.
Enter the string to be searched for.
Note to redirect output to the printer press [CTRL P] before
you press [RETURN] at 'Enter text to search for' prompt.
Example
LINES [RETURN]
Enter a file name :RECURSION.MOD [RETURN]
Enter string to look for :PROCEDURE [RETURN]