🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs.usg
Article #250

SVR2 sort(1) documentation bug

#250
From: 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.
Technical Details
Message-ID: <1411@brl-tgr.ARPA>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-tgr!gwyn

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-tgr!gwyn
From: gwyn@brl-tgr.ARPA (Doug Gwyn <gwyn>)
Newsgroups: net.bugs.usg
Subject: SVR2 sort(1) documentation bug
Message-ID: <1411@brl-tgr.ARPA>
Date: Thu, 9-Jan-86 17:35:25 EST
Article-I.D.: brl-tgr.1411
Posted: Thu Jan  9 17:35:25 1986
Date-Received: Sun, 12-Jan-86 06:06:16 EST
Distribution: net
Organization: Ballistic Research Lab
Lines: 11