[TUHS] Line Numbers Before SysIII nl? BSD num?

John Cowan cowan at ccil.org
Sun Jul 24 00:33:09 AEST 2022


On Sat, Jul 23, 2022 at 9:21 AM Rob Pike <robpike at gmail.com> wrote:

Very odd. I thought so too, but the 8th Edition manual says pr -n
> prints in n columns,


I'm almost certain that -n here means that -2 is 2 columns, -3 columns,
etc., and that there is no actual -n switch.  In Posix as well as more
modern man pages this is spelled -COLUMNS: see man.cat-v.org.

> while the 9th and 10th say it numbers the lines.
>

I think this may have come from BSD; it is now part of Posix.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20220723/8940b40d/attachment-0001.htm>


More information about the TUHS mailing list