[TUHS] PWB contributions

John Cowan cowan at mercury.ccil.org
Tue Nov 10 00:44:16 AEST 2015

Doug McIlroy scripsit:

> And to set a world benchmark for software bloat. For a good time try
>         less --help | wc

I disagree entirely: it's a matter of how you see less.  For me it is
roughly comparable to ed (and indeed the primary documentation is about
the same size).  Both have the function of letting you inspect, in ways
not predictable in advance, the contents of a file.  Ed also allows
you to modify the file, whereas less has a more convenient interface
for dealing with pipeline output, and has single-keystroke convenience
commands, notably space.

(IWBNI ed had a switch to make it read stdin into the buffer and then
read commands from /dev/tty.  Obviously a wrapper script could achieve
this easily.)

Disclaimer:  I actually use ex, not ed: I'm willing to trade off a
litttle less standardosity for a little more convenience.  That also
of a minimal subset of vi commands when dealing with code that contains
highly repetitive strings, notably Lisp parentheses.

John Cowan          http://www.ccil.org/~cowan        cowan at ccil.org
"Repeat this until 'update-mounts -v' shows no updates.
You may well have to log in to particular machines, hunt down
people who still have processes running, and kill them."

More information about the TUHS mailing list