[ntp:hackers] ntpq width output
Terje Mathisen
terje at tmsw.no
Thu Aug 14 09:34:13 UTC 2014
Hal Murray wrote:
> stenn at ntp.org said:
>> Dan Mahoney suggested we consider an option (-w/--wide) that would print out
>> the entire "remote" value, and if this caused the output to "spill over"
>> into adjacent columns, we just emit a newline and print out the remaining
>> columns properly indented on the next line:
> Seems like a good idea to me.
>
> I'd also vote for -W or whatever to skip the newline. The idea is to make it
> easy to parse.
>
I'll second both these suggestions. :-)
-W would also be better for reading the output on a wide screen: 80-col
CRTs are just so 1980!
Terje
--
- <Terje at tmsw.no>
"almost all programming can be viewed as an exercise in caching"
More information about the hackers
mailing list