[ Date Index ][
Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
Dave,
I meant to give you an awk example (will print the first 10 lines):
#!/bin/awk -f
BEGIN {
for (i = 0; i < 10; i++)
{
if ( ("ntpdc -n -c mon | sort -nrk4" | getline) <= 0 )
break
print
}
close ("ntpdc -n -c mon | sort -nrk4")
}
Clive