[10097] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: decmips 7.4G: ps

daemon@ATHENA.MIT.EDU (Calvin Clark)
Wed Nov 25 11:54:15 1992

Date: Wed, 25 Nov 92 11:54:04 -0500
From: Calvin Clark <ckclark@mit.edu>
To: Calvin Clark <ckclark@mit.edu>
Cc: bugs@Athena.MIT.EDU
In-Reply-To: [10095]
Reply-To: ckclark@mit.edu

To repeat this---it works for me---run the first csh script from 
[10096] in bugs in one window, and "ps ux" in the other.  I will reprint
that script here for your convenience:

#!/bin/csh -f

set count = 0

while ($status == 0)
	set count = `expr $count + 1`
	echo "count is: $count"
	test $count -lt 3
end

(Yes, I used `expr' and `test' intentionally here.  I am aware that csh
can do math; I am also aware of its effectiveness as a random number
generator.) 

-Calvin

home help back first fref pref prev next nref lref last post