Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Output format improvment for ifconfig(8)



On Oct 31, 2012, at 7:56 PM, Paul Goyette <paul%whooppee.com@localhost> wrote:

> Some time ago, I created the snprintb_m(3) to print bit field values across 
> multiple output lines, rather than on a single, potentially very long line, 
> and cpuctl(8) (for i386/amd64) was modified to use this for the multiple CPU 
> features lines.
> 
> I'd like to make similar changes to ifconfig(8) for the capabilities, 
> enabled, and flags field.
> 
> The following diffs shows how the output would change.  (I am certain that my 
> mailer will screw up the presentation of the long lines, so I have also 
> attached the diffs!)  The code changes are also attached.
> 
> Any objections or suggestions?
> 

ifconfig is one of those commands that shows up in scripts a lot;
I wonder if that would break things for some people.


                --Steve Bellovin, https://www.cs.columbia.edu/~smb







Home | Main Index | Thread Index | Old Index