> > Just as an aside, do you need to set LC_ALL=C, or is it just the same > > setting LC_COLLATE=C? > > It's not the same, but it's safer, because LC_COLLATE must be > compatible with LC_CTYPE, and LC_ALL sets both.
> my $cmd = "LC_COLLATE=en_US.UTF-8 sort $filename |"; Yes. And for the archives my example should have been: my $cmd = "LC_ALL=C sort $filename |"; Bob _______________________________________________ Bug-textutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-textutils