docs/54391: Document that glob(3) respects LC_COLLATE

Chris Pepper pepper at reppep.com
Fri Jul 11 18:06:49 UTC 2003


At 11:00 AM -0700 2003/07/11, Tom Rhodes wrote:
>The following reply was made to PR docs/54391; it has been noted by GNATS.
>
>From: Tom Rhodes <trhodes at FreeBSD.org>
>To: Thomas Seck <tmseck at netcologne.de>
>Cc: FreeBSD-gnats-submit at FreeBSD.org
>Subject: Re: docs/54391: Document that glob(3) respects LC_COLLATE
>Date: Fri, 11 Jul 2003 13:50:47 -0400
>
>  On 11 Jul 2003 17:41:02 -0000
>  Thomas Seck <tmseck at netcologne.de> wrote:
>
>  >
>  >	Index: glob.3
>  >	===================================================================
>  >	RCS file: /home/ncvs/src/lib/libc/gen/glob.3,v
>  >	retrieving revision 1.23
>  >	diff -u -r1.23 glob.3
>  >	--- glob.3	4 Feb 2003 16:27:42 -0000	1.23
>  >	+++ glob.3	11 Jul 2003 17:05:58 -0000
>  >	@@ -197,10 +197,10 @@
>  >	 .Dv GLOB_NOESCAPE
>  >	 is set, backslash escaping is disabled.
>  >	 .It Dv GLOB_NOSORT
>  >	-By default, the pathnames are sorted in ascending
>  >	-.Tn ASCII
>  >	-order;
>  >	-this flag prevents that sorting (speeding up
>  >	+By default, the pathnames are sorted in locale specific 
>ascending order
>
>
>  "sorted by locale in ascending order"?

	Nah, that sounds locale is the key.

	"sorted in ascending order, according to the locale's 
preferred ordering" or
	"sorted in locale-specified ascending order"?


						Chris Pepper
-- 
Chris Pepper:               <http://www.reppep.com/~pepper/>
Rockefeller University:     <http://www.rockefeller.edu/>



More information about the freebsd-doc mailing list