On Tue, Aug 22, 2006 at 11:11:06AM -0500, Russell McGaha wrote: Perhaps: #!/bin/bash until command; do sleep 1; done > 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 -- ~`^`'~=-._.-=~'`^`'~=-._.-=~'^'~=-., \|/ (___) \|/ _,.-=~'`^` @~./'O o`\.~@ "Knowledge is Power" /__( \___/ )__\ *PPPFFBT!* -- Francis Bacon `\__`U_/' _.-=~'``'~=-._.-=~'``'~=-._.-=~'`^`'~= <____|' ^^`'~=-.,__,.-= ~'^`'~=-._.-=~'`^`'~=-._.-=~'^'~=-.,__,.-==--^'~=-.,__,.-=~'`^`