-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Alan Mackenzie on 1/28/2008 1:58 PM: | | . Sadly, ls ignores my intentions and undiscerningly prints a list of | all files whose names begin with a letter, big or small.
Actually, it follows your (unintended) directions, thanks to your current locale, which does a collation sort. You aren't doing [A-Za-z], but [AaBb...Z], because your current locale prefers case-insensitive collation. Change your locale (try LC_COLLATE=C or LC_ALL=C) to see the difference. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHnlK784KuGfSFAYARAgrVAJkBB52JX8Z3KU82GUDWGR+VubkvRwCeP/Q+ bUcUGQjd0L3iZ0oNNp/SC/M= =IJqX -----END PGP SIGNATURE-----