Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Non-case sensitive alphabetical sorting
Date: Sat, 19 Jul 2008 07:02:38
Message-Id: 20080719080230.5773227e@loonquawl.digimed.co.uk
In Reply to: [gentoo-user] Non-case sensitive alphabetical sorting by Mark David Dumlao
1 On Sat, 19 Jul 2008 07:49:39 +0800, Mark David Dumlao wrote:
2
3 > When ordering items by name, a separate and distinct sequence is scene
4 > for A-Z before the sequence for a-z. This is the expected behavior.
5 > What might i need to look up to intermix [Aa]-[Zz]?
6
7 That depends on what you are using to do the sort. The sort command uses
8 the -f option for case-insensitive sorting. Bash has an option to handle
9 this when presenting files that match a pattern, like *, see the man page.
10
11 A more detailed question will elicit a more detailed answer.
12
13
14 --
15 Neil Bothwick
16
17 Talk is cheap because supply exceeds demand.

Attachments

File name MIME type
signature.asc application/pgp-signature