HP3000-L Archives

June 1999, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Leonard Berkowitz <[log in to unmask]>
Reply To:
Leonard Berkowitz <[log in to unmask]>
Date:
Wed, 16 Jun 1999 07:25:14 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
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

ATOM RSS1 RSS2