[net.bugs.usg] SVR2 sort

gwyn@brl-tgr.ARPA (Doug Gwyn <gwyn>) (01/10/86)

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.