[NTLUG:Discuss] basic Bash question

Lance Simmons lance at lsimmons.net
Tue Aug 3 12:19:25 CDT 2004


* Lance Simmons <lance at lsimmons.net> [040803 10:49]:

What I ended up with is:

  foo=<result of tailing, grepping, cutting logfile>

  until `test "$foo" -ge 0`

  do

	foo=<result of tailing, grepping, cutting logfile>

	sleep .1 
	
  done

Does that seem about right?

-- 
Lance Simmons
Any two philosophers can tell each other all they know in two hours.
		-- Oliver Wendell Holmes, Jr.



More information about the Discuss mailing list