Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!DUCVAX.AUBURN.EDU!FVEST
From: FVEST@DUCVAX.AUBURN.EDU (Floyd Vest)
Newsgroups: comp.sys.amiga
Subject: Re: more 1.4 command wishlist
Message-ID: <8908130026.AA19568@ucbvax.Berkeley.EDU>
Date: 13 Aug 89 01:35:00 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Lines: 27



>Simple example: It'd be nice if stack's output was "stack "
>instead of "Current stack size is " - or that you could make it
>do that. Why? How about a script like:

>stack >ram:resetstack
>stack 50000
>; run some thing that needs 50K of stack
>execute ram:resetstack


Maybe people are getting tired of the same old answer, but "have you looked at
ARP 1.3?"

Try this:
oldstack=$(echo "$(stack)" first 13)
stack 50000
; run some thing that needs 50K of stack
stack $oldstack


Floyd Vest
Auburn University
FVEST@AUDUCVAX.bitnet  
{...!psuvax1!ducvax.auburn.edu!fvest} 
fvest@ducvax.auburn.edu