Lasse; Okay, THANKS. uhh could/would you explain what's going on there?? Thanks again Russell On Aug 22, 2006, at 11:16 AM, Lasse wrote: > Hi Russell, > > this should do it > > while [ $x -ne 0 ]; do > fmsadmin status Clients > done > > Cheers > /L > > Den 22/08/2006 kl. 17.11 skrev Russell McGaha: > >> 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 >> _______________________________________________ >> X-Unix mailing list >> X-Unix at listserver.themacintoshguy.com >> http://listserver.themacintoshguy.com/mailman/listinfo/x-unix >> >> Listmom is trying to clean out his closets! Vintage Mac and random >> stuff: >> http://search.ebay.com/_W0QQsassZmacguy1984 >