AlbyVA <[email protected]> writes:
> for i in `seq 0 120`; do ntptime | grep d3 | awk '{print $7}' ; sleep 1; done
for i in `seq 0 120`; do ntptime | awk '/d3/{print $7}' ; sleep 1; done
and I prefer $() to `` if the shell supports it (most do, the only
mainstream platform I know of with a /bin/sh that doesn't is Solaris)
for i in $(seq 0 120) ; do ntptime | awk '/d3/ { print $7 }' ; sleep 1 ; done
having fun yet? :)
DES
--
Dag-Erling Smørgrav - [email protected]
_______________________________________________
pool mailing list
[email protected]
http://lists.ntp.org/listinfo/pool