>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
-- Gerd Knorr <kraxel@cs.tu-berlin.de> | Where these funny chars come from ??? http://www.cs.tu-berlin.de/~kraxel/ | [ ... ] Aha, the debug code is broken!