Yeah, p is all we need. I think it originated with td at UofT. I might have brought it with me to Bell Labs, or recreated it. Probably the former. The Plan 9 version is, except for a change of I/O library, likely the same code. 90 lines of C.

More and less are both more and less than p.

-rob


On Mon, Jun 15, 2020 at 12:56 PM Larry McVoy <lm@mcvoy.com> wrote:
I believe that was my statement, not Dougs, and I stand behind it.
Less was a huge improvement.  If you want me to dig out why I will
but I don't want to because it will make you look bad, that is not
my goal.

On Sun, Jun 14, 2020 at 07:41:27PM -0700, Bakul Shah wrote:
> On Jun 14, 2020, at 7:26 PM, Doug McIlroy <doug@cs.dartmouth.edu> wrote:
> >
> >> less(1) was actually an improvement
> >
> > Hmm. Less is my favorite whipping boy for featuritis.
> >
> > % less --help |wc
> >    242    1331   12202
>
> % wc p.c
>      90     219    1504 p.c

--
---
Larry McVoy                  lm at mcvoy.com             http://www.mcvoy.com/lm