[X-Unix] Bash scripting Question

Russell McGaha RussellMcGaha at hughes.net
Tue Aug 22 09:11:06 PDT 2006


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


More information about the X-Unix mailing list