Glenn Cole compares:
<</set short;w;fq "STRING";l>> with the list command in Qedit. A shorter form of this
command would be:
/set short;w flag;l "STRING"
This can be encapsulated in the following USE file:
Q "Enter string without quotes"
Z::=
SET SHORT
SET TIME=500
FINDQ FIRST
WHILE FLAG
LIST "Z::"
SET TIME=50
SET LONG
It is necessary to type only /U F and then enter the string without quotes.
A variation on the above might be to prompt for a starting line to search from some
point in the middle of the file to the end.
Does Qedit have any looping ability (/WHILE of Edit3000)?
========================
Leonard S. Berkowitz
mailto:[log in to unmask]
phone: (617) 972-9400 ext. 3250
fax: (617) 923-5555