ok, where can i figure out what the implications are for setting
LC_COLLATE, what the possible values are, and so on?  "man -k"
doesn't seem to tell me anything.

  i'm curious for a couple of reasons.  first, as many people have
found out, setting LC_COLLATE=C reverts the way filenames are
displayed back to the "old" way, where lower/upper case mattered.


  in addition, i noticed that it also affects how fields in a
white-space separated file are sorted.  i have a sample file,
with an arbitrary number of spaces between the fields to make
them line up.

  the sort command generally requires a "-b" option to collapse
consecutive blanks together so that the sort works properly.
at least, you need "-b" if LC_COLLATE=C; in other words, to get
the old behavior i'm used to.

  if you haven't set LC_COLLATE=C, then this option is no longer
required -- the sort will work fine.

  so, is there a HOWTO/man page or something that explains all
of this COLLATE stuff and its effects on commands somewhere?

rday

Robert P. J. Day, RHCE, RHCI
Eno River Technologies, Chapel Hill NC
Unix, Linux and Open Source corporate training

http://www.linux-migration.org



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to