Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

QUESTION WITH RGET

Status
Not open for further replies.

Volkmaniac

Technical User
Mar 19, 2003
104
US
I've been stealing some of the rget samples from this site. I was wondering if it's possible to grab the line above/below what you're using as the waitfor.

For instance:

if waitfor " TOTAL BAL"


TOT BAL

985521.57

Is there anyway I can grab that number using rget even if it's on the next line?


 
If there is always a constant number of blank lines between the two lines, then you could just use a number of rget commands (one per carriage return that may be encountered), until you get the line you are looking for.


aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top