Re: procfs problems

Gerd Knorr (
Thu, 1 May 1997 10:35:00 +0200

In article <>,
you wrote:

>Sorry for this, but how hard is it to parse fields in c or bash anyhow?

Not a problem. Have a look at sscanf(3), you can parse a line (even
relatively complex files like /proc/net/tcp) with one call to sscanf.


Gerd Knorr <> |  Where these funny chars come from ??? |  [ ... ] Aha, the debug code is broken!