🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Doug Gwyn <gwyn> Thu, 09 Jan 1986 22:35
SVR2 sort(1) documentation bug
#250
Author: Doug Gwyn <gwyn>
Date: Thu, 09 Jan 1986 22:35
11 lines
1117 bytes
The "UNIX System V - Release 2.0 User Reference Manual
DEC Processors", 307-109 Issue 2 (April 1984) SORT(1) entry
says "The notation +pos1 -pos2 restricts a sort key to one
beginning at pos1 and ending at pos2.  The characters at
positions pos1 and pos2 are included in the sort key."

This is RONG.  The character at pos2 is not included in
the sort key.  The SVR1 and 8th Edition UNIX manuals have
this right.  I just examined the SVR2 source code to make
sure and ran some test cases.  One wonders why the correct
description was changed.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads