Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 1996 15:40:03 -0700 (MST)
From:      Don Yuniskis <dgy@rtd.com>
To:        freebsd-hackers@freefall.FreeBSD.org (FreeBSD hackers)
Subject:   sort(1) bugs
Message-ID:  <199610222240.PAA22269@seagull.rtd.com>

next in thread | raw e-mail | index | archive | help
[stepping into asbestos underwear first...]

Greetings!
     Sort chokes on 8bit chars.  Well, let's just say it's
not consistent in how it performs it's tests for which character
comes first...
     In particular, `sort foo` will sort the contents of foo
as if each character was unsigned.  On the other hand, `sort +0f foo`
gets preoccupied dealing with upper and lower case, etc. and forgets
to treat the characters as unsigned.  I started to hammer on the
code but to clean it up *right* would require more time than I can
spare at the moment [hence the asbestos underwear] -- considering
the variety of "compare" options supported.
     I've checked with the FSF distribution and this behaviour
is still present in their latest release (of textutils).  If 
someone has a spare moment, this should be a no-brainer  (and,
obviously, I must have < no-brains!  :>)
     Just FYI..
thanx!
--don



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610222240.PAA22269>