[ntp:bugs] [Bug 663] ntpq: "rc &4" does not work until after "pe"
bugzilla at ntp.isc.org
bugzilla at ntp.isc.org
Wed Jun 28 12:04:48 UTC 2006
http://bugs.ntp.isc.org/663
----------------------------------------------------------------------------
Additional Comments From brian.utterback at sun.com (Brian Utterback)
Submitted on 2006-06-28 12:04
I think this is by design. The '&num' notation never works until after a command
that indicates what the number of associations is. Since you can use file
indirection within individual commands, I often do something like this:
ntpq -c 'assoc >/dev/null' -c 'rl &3'
Since my change to ntpq to clamp the '&num' at the maximum assoc, I use this
quite often:
ntpq -c 'assoc >/dev/null' -c 'mrl &1 &99'
--
Brian Utterback <brian.utterback at sun.com>
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the bugs
mailing list