NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/45123: sort(1) -k field descriptions should take +[0-9]



The following reply was made to PR bin/45123; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/45123: sort(1) -k field descriptions should take +[0-9]
Date: Fri, 8 Jul 2011 06:55:59 +0000

 On Thu, Jul 07, 2011 at 07:40:04PM +0000, Jukka Ruohonen wrote:
  >  Hmm. On 5.1:
  >  
  >     $ sort -k +3 
  >     sort: field numbers must be positive
  >  
  >  But on 5.99.54:
  >  
  >     $ sort -k +3
  >     a b c
  >     d d a
  >     a b x
  >     d d a
  >     a b c
  >     a b x
 
 Yes, I fixed it a year ago; see PR 43358 and versions 1.25 and 1.26 of
 usr.bin/sort/init.c.
 
 It wasn't ever pulled up to -5 though. That could be done if there's
 interest.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index