MACSCRPT Archives

August 2006

MACSCRPT@LISTSERV.DARTMOUTH.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:
Russell McGaha <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Tue, 22 Aug 2006 11:11:06 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (20 lines)
Folks;
	I've got a situation where I running a script and need to wait till  
the output of a command is null:

ex.
	NotNull = true
	While NotNull
do
	fmsadmin status Clients   #[returns a list of connected clients; I'd  
like to got thru
							  this loop until either the output of the command is null or
							  About 2-5 minutes have gone by]#
done

Can anyone give ANY pointers or examples on how to do this?

Russell

PS. I'm on the digests so PLEASE cc me directly

ATOM RSS1 RSS2