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

Re: "less" doesn't work on /proc files



>> You could argue that this is a bug in the semantics of the proc
>> filesystem.
>You could also arguet that this is a bug in less.  The size that stat
>gives is old information.  less shouldn't trust it.

If you really like to argue, you could also call it a design flaw in
stat().  After all, any time it gives information, it's old by the
time the program can act on it.  See Heisenberg for details on that
one.

-- 
http://www.wp.com/joelh --- Joel Ray Holveck --- joelh@gnu.ai.mit.edu

Fourth law of computing:
  Anything that can go wro
.signature: segmentation violation -- core dumped


Reply to: