|
From: | Eric S. Raymond |
Subject: | Re: [gpsd-dev] Revised adaptive-delay code - please test |
Date: | Wed, 28 Jan 2015 16:37:48 -0500 |
User-agent: | Mutt/1.5.23 (2014-03-12) |
Hal Murray <address@hidden>: > #!/bin/bash > > while true > do > date > ./gpspipe -n 3 -R -o /dev/null # hang if gpsd is sick > ./gpspipe -d -R -o /dev/null > sleep 2 > DELAY=$RANDOM # 0-32K > usleep ${DELAY}00 # 0-3 seconds > killall gpspipe > ps ax | grep gpspipe > done My Ubuntu doesn't have a usleep command. Can you identify the package or bash version that supports this? -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
[Prev in Thread] | Current Thread | [Next in Thread] |