Re: procfs problems

david parsons (o.r.c@p.e.l.l.c.h.i.i.l.u.s)
16 Apr 1997 14:00:47 -0700


In article <linux.kernel.5lohbe4xyq.fsf@tequila.systemsz.cs.yale.edu>,
Stefan Monnier <monnier+/news/lists/linux/kernel@TEQUILA.SYSTEMSZ.CS.YALE.EDU> wrote:

>Why in the world is 'cat /proc/cpuinfo' better than 'bin2text /proc/cpuinfo' ?

IFS=: while read token value;do
echo $token ":" $value
done < /proc/cpuinfo

can be used even when /usr/bin has gone south for the winter. One of
the lessons of Windows NT is that even though a binary registry can
be nice for writing simple-minded gui tools, it's a real bitch when
something gets corrupted. Human readable text, on the other hand, is
amenable to deal with when your display tool is toast.

____
david parsons \bi/ orc@pell.chi.il.us
\/