Re: Machine friendly format for /proc files

Scott Schwartz (schwartz@galapagos.cse.psu.edu.NO-SPAM)
18 Feb 1997 00:08:35 -0500


alan@lxorguk.ukuu.org.uk (Alan Cox) writes:
| > (bleah part two) format, with the extra line's content not even aligned
| > (bleah part three) with the major line... Matter of fact, the "bytes"
| > and "carrier" entries are also misaligned (left and center, resp.) compared
| > to the other headline entries (right)...
|
| Yep. When it works nicely I'll worry about trivialities like formatting it
| neatly.

Most unix tools, awk in particular, are happiest when dealing with
whitespace delimited fields, and are least happy when fixed columns
are involved. May I suggest, when formatting nicely, be thoughtful to
awk.