From owner-freebsd-questions@FreeBSD.ORG Tue Jan 31 11:41:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E563E106566C for ; Tue, 31 Jan 2012 11:41:01 +0000 (UTC) (envelope-from eam1edward@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id BB4438FC08 for ; Tue, 31 Jan 2012 11:41:01 +0000 (UTC) Received: by pbdv10 with SMTP id v10so125194pbd.13 for ; Tue, 31 Jan 2012 03:41:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=pe4F7pJ5nmTAz0FUaK58lgeY3a8PirKkwxfFJ+ZUQf0=; b=Z9ylEBa4W5BpYkdblLrezfFBv/gjD+/NwYLIEVEbXoLrpfEG5NLn6Adziw3m0f/0gT nj2tK4FilN7GQ2pCo37KJ9cH+GX6clXgHNmFn2cD1qVBJvqN4STtretljrtd2qcEgVbx ZKyShEPRoqk6rDRGXN4e+jr0Ld7+SaMvlmgvY= Received: by 10.68.74.167 with SMTP id u7mr49154737pbv.103.1328010061614; Tue, 31 Jan 2012 03:41:01 -0800 (PST) Received: from [192.168.1.101] ([174.134.109.226]) by mx.google.com with ESMTPS id li19sm54810886pbb.17.2012.01.31.03.41.00 (version=SSLv3 cipher=OTHER); Tue, 31 Jan 2012 03:41:00 -0800 (PST) Message-ID: <4F27E270.7020001@gmail.com> Date: Tue, 31 Jan 2012 04:45:36 -0800 From: Edward Martinez User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: bash LC_COLLATE or LC_ALL set =?windows-1252?q?=93C=94_not__sort?= =?windows-1252?q?_in_dictionary_order=2E?= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2012 11:41:02 -0000 Hi, Been trying to get BASH to sort set characters in dictionary order. I typed "locale" and it shows LC_COLLATE and LC_ALL are set to "C" thought that was enough to work, however when i type metacharacters: set character; any character, something like this: ls [a-cx-y]* bash does not sort in dictionary order; file "Binarc" does not list. Am I leaving something out?