From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 20 12:22:49 2011 Received: (at submit) by debbugs.gnu.org; 20 Sep 2011 16:22:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R635s-0006Rr-QK for submit@debbugs.gnu.org; Tue, 20 Sep 2011 12:22:49 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R5yzz-0000Hq-Vd for submit@debbugs.gnu.org; Tue, 20 Sep 2011 08:00:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R5yux-0000nO-Sq for submit@debbugs.gnu.org; Tue, 20 Sep 2011 07:55:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:52687) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5yux-0000nK-RE for submit@debbugs.gnu.org; Tue, 20 Sep 2011 07:55:15 -0400 Received: from eggs.gnu.org ([140.186.70.92]:55206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5yuw-0000JM-8f for bug-coreutils@gnu.org; Tue, 20 Sep 2011 07:55:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R5yur-0000mF-6x for bug-coreutils@gnu.org; Tue, 20 Sep 2011 07:55:14 -0400 Received: from mail-iy0-f195.google.com ([209.85.210.195]:58282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5yur-0000lp-2l for bug-coreutils@gnu.org; Tue, 20 Sep 2011 07:55:09 -0400 Received: by iaeo4 with SMTP id o4so154133iae.6 for ; Tue, 20 Sep 2011 04:55:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=H2NvhtM86qrs++9aAN8YOE89JUZRrG9mZk2eIHm2whc=; b=Pgh/aasr3DVXLein+qp0vW8NwwGjGQ3txVU2Cqud9/AVqKmO12r1Ncip8SKkzsyHsa MnPfRBQlSSivFK5yxFYG/8+Ibnfi43g95PneWHLEuaq3Qc+OClKnZZfxyZc9UWRKFpkr 3SDA8iqPhLI+sRafGq3U14MkTfVcLtS3tdAQc= Received: by 10.231.8.32 with SMTP id f32mr1242681ibf.65.1316519229079; Tue, 20 Sep 2011 04:47:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.38.9 with HTTP; Tue, 20 Sep 2011 04:46:49 -0700 (PDT) From: vijay krishna Date: Tue, 20 Sep 2011 04:46:49 -0700 Message-ID: Subject: Sort behaves differently To: bug-coreutils@gnu.org Content-Type: multipart/alternative; boundary=0015176f14eafd407504ad5e048f X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 20 Sep 2011 12:22:47 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) --0015176f14eafd407504ad5e048f Content-Type: text/plain; charset=ISO-8859-1 Hello Team, May I please know the reason for the following behaviour of the sort command... ------------------ 0 $ sort bug1_file1 b103i/pass.txt b103/pass.txt 0 $ sort bug1_file2 b103/done.txt b103i/done.txt ------------------ The output is same with options '-s', '-g', '-n', '-d' (used one at a time) also. ------------------ 0 $ sort --version sort (GNU coreutils) 5.97 Copyright (C) 2006 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License . There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. Regards, Krishna --0015176f14eafd407504ad5e048f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello Team,
=A0
=A0 May I please know the reason for the following behaviour of the so= rt command...
=A0
------------------
0 $ sort=A0bug1_file1
b103i/pass.txt
b103/pass.txt
0 $ sort=A0bug1_file2
b103/done.txt
b103i/done.txt
------------------
=A0
=A0 The output is same with options=A0 '-s', '-g', = 9;-n', '-d' (used one at a time) also.
=A0
=A0
=A0
------------------
0 $ sort --version
sort (GNU coreutils) 5.97
Copyright (C) 2006 = Free Software Foundation, Inc.
This is free software.=A0 You may redistr= ibute copies of it under the terms of
the GNU General Public License <= ;http://www.gnu.org/licens= es/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Haertel and Paul Eggert.
=A0
=A0
Regards,
Krishna
--0015176f14eafd407504ad5e048f-- From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 20 13:54:05 2011 Received: (at control) by debbugs.gnu.org; 20 Sep 2011 17:54:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R64WC-0000ke-OI for submit@debbugs.gnu.org; Tue, 20 Sep 2011 13:54:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R64W9-0000k4-9u for control@debbugs.gnu.org; Tue, 20 Sep 2011 13:54:02 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p8KHmqdQ009223 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 20 Sep 2011 13:48:52 -0400 Received: from [10.3.113.135] (ovpn-113-135.phx2.redhat.com [10.3.113.135]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p8KHmqS4026922 for ; Tue, 20 Sep 2011 13:48:52 -0400 Message-ID: <4E78D204.9000606@redhat.com> Date: Tue, 20 Sep 2011 11:48:52 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.22) Gecko/20110906 Fedora/3.1.14-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.14 MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: 9562 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Spam-Score: -10.3 (----------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.3 (----------) forcemerge 9562 9561 thanks -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 20 14:42:05 2011 Received: (at 9561-done) by debbugs.gnu.org; 20 Sep 2011 18:42:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R65Gf-0004UF-ER for submit@debbugs.gnu.org; Tue, 20 Sep 2011 14:42:05 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R65Gc-0004Tw-CJ for 9561-done@debbugs.gnu.org; Tue, 20 Sep 2011 14:42:03 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 21E9339E80F8; Tue, 20 Sep 2011 11:36:53 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yTtKz68WhEyT; Tue, 20 Sep 2011 11:36:52 -0700 (PDT) Received: from [131.179.64.200] (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 4D59C39E80CF; Tue, 20 Sep 2011 11:36:52 -0700 (PDT) Message-ID: <4E78DD44.7080103@cs.ucla.edu> Date: Tue, 20 Sep 2011 11:36:52 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.22) Gecko/20110906 Fedora/3.1.14-1.fc14 Thunderbird/3.1.14 MIME-Version: 1.0 To: vijay krishna Subject: Re: bug#9561: Sort behaves differently References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: 9561-done Cc: 9561-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) "sort --help" explains your problem, I expect: *** WARNING *** The locale specified by the environment affects sort order. Set LC_ALL=C to get the traditional sort order that uses native byte values. Hmm, perhaps we should change the output of "sort --help"? We could change this: Report sort bugs to bug-coreutils@gnu.org to this: Please use the --debug option when reporting bugs. Report sort bugs to bug-coreutils@gnu.org From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 20 22:47:42 2011 Received: (at 9561-done) by debbugs.gnu.org; 21 Sep 2011 02:47:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R6Cqb-0002hm-WA for submit@debbugs.gnu.org; Tue, 20 Sep 2011 22:47:42 -0400 Received: from mail-iy0-f172.google.com ([209.85.210.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R6CqY-0002he-LJ for 9561-done@debbugs.gnu.org; Tue, 20 Sep 2011 22:47:39 -0400 Received: by iaby26 with SMTP id y26so1230325iab.3 for <9561-done@debbugs.gnu.org>; Tue, 20 Sep 2011 19:47:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Qyz5LaL20JRTBIVOKCzExrUHK76+cSd9i/YtI5kkpJI=; b=h0I5boUlo4U/BV6r/Cb1S/ul1BmVUvF6ddZv9ElpLQfL+U8oos0NaITdDfBplbVgbD NHCEc6b+LvZwnXsyAVKXj0lRGjH0sqUelMuHpSXzSnZbefEM+TkRMAVR/LOTvaOYWpeT lAWmB2uLgFaMN/wQFYxdl2jnra1YVmPrEBGhk= Received: by 10.231.51.4 with SMTP id b4mr223798ibg.99.1316573244272; Tue, 20 Sep 2011 19:47:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.38.9 with HTTP; Tue, 20 Sep 2011 19:47:04 -0700 (PDT) In-Reply-To: <4E78DD44.7080103@cs.ucla.edu> References: <4E78DD44.7080103@cs.ucla.edu> From: vijay krishna Date: Wed, 21 Sep 2011 08:17:04 +0530 Message-ID: Subject: Re: bug#9561: Sort behaves differently To: Paul Eggert Content-Type: multipart/alternative; boundary=001517740ae08bb24b04ad6a987e X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: 9561-done Cc: 9561-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.5 (----) --001517740ae08bb24b04ad6a987e Content-Type: text/plain; charset=ISO-8859-1 Hello Paul, Just thought of informing you. I could not find '--debug' option in the sort help. Sort could not even recognize the option. Currently I am using the following version of sort. Kindly inform if a latest version is available. 0 $ sort --version sort (GNU coreutils) 8.5 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. 0 $ sort --debug sort: unrecognized option '--debug' Try `sort --help' for more information. --- Regards, Krishna On Wed, Sep 21, 2011 at 12:06 AM, Paul Eggert wrote: > "sort --help" explains your problem, I expect: > > *** WARNING *** > The locale specified by the environment affects sort order. > Set LC_ALL=C to get the traditional sort order that uses > native byte values. > > Hmm, perhaps we should change the output of "sort --help"? > We could change this: > > Report sort bugs to bug-coreutils@gnu.org > > to this: > > Please use the --debug option when reporting bugs. > Report sort bugs to bug-coreutils@gnu.org > --001517740ae08bb24b04ad6a987e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello Paul,

=A0 =A0 Just thought of informing you.
=
I could not find =A0'--debug' option in the sort help.
Sort could not even=A0recognize=A0the option.

C= urrently I am using the following version of sort.
Kindly inform if a latest version is available.

0 $ sort --version
sort (GNU coreutils) 8.5
Cop= yright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GN= U GPL version 3 or later <h= ttp://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

=
Written by Mike Haertel and Paul Eggert.
0 $ sort --de= bug
sort: unrecognized option '--debug'
Try `sort --help= ' for more information.

---
Regards,
Krishna

On Wed, S= ep 21, 2011 at 12:06 AM, Paul Eggert <eggert@cs.ucla.edu> wrote:
"sort --help" explains your probl= em, I expect:

=A0*** WARNING ***
=A0The locale specified by the environment affects sort order.
=A0Set LC_ALL=3DC to get the traditional sort order that uses
=A0native byte values.

Hmm, perhaps we should change the output of "sort --help"?
We could change this:

=A0Report sort bugs to bug-coreut= ils@gnu.org

to this:

=A0Please use the --debug option when reporting bugs.
=A0Report sort bugs to bug-coreut= ils@gnu.org

--001517740ae08bb24b04ad6a987e-- From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 20 23:59:54 2011 Received: (at 9561-done) by debbugs.gnu.org; 21 Sep 2011 03:59:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R6DyU-0004LT-9d for submit@debbugs.gnu.org; Tue, 20 Sep 2011 23:59:54 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R6DyR-0004LI-QB for 9561-done@debbugs.gnu.org; Tue, 20 Sep 2011 23:59:53 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id EB45639E80F8; Tue, 20 Sep 2011 20:59:37 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id etwB57p0iXMa; Tue, 20 Sep 2011 20:59:36 -0700 (PDT) Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id CD1F539E80CF; Tue, 20 Sep 2011 20:59:36 -0700 (PDT) Message-ID: <4E796124.3020205@cs.ucla.edu> Date: Tue, 20 Sep 2011 20:59:32 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13 MIME-Version: 1.0 To: vijay krishna Subject: Re: bug#9561: Sort behaves differently References: <4E78DD44.7080103@cs.ucla.edu> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 9561-done Cc: 9561-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) On 09/20/11 19:47, vijay krishna wrote: > I could not find '--debug' option in the sort help. > Sort could not even recognize the option. I suggest trying the latest version, 8.13: ftp://ftp.gnu.org/gnu/coreutils/coreutils-8.13.tar.gz From unknown Fri Sep 05 20:36:56 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 19 Oct 2011 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator