delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/11/28/10:42:26

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=PlcSbCDUEWOhj1hf
AugGhT46QTHw/3Hcrf1OCocGhOhUkiSdEuCuMW/9Wx07zWYp+zB6wA6CS6aDFtXN
nx/KxACf5rW/aehYeOA/pp7vXRRR/qZYCaBEoxFZvPLkMDTSuV2YrYUzA9bGWYdb
w83bS5WvFlCPVkgm1cQbR63aqVM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=1kTD2XQHZ0ER4RcVDo2AX4
8W2EE=; b=NA3sIKchojeDx8rvx29IOkcRwgzM9dfhvSqUeTfgIz4Tk5x5yQoNHA
O5iwh7Bf1/HxNlYTgH0xPGHMmsxgbhhcrxdHDQhsPLtln47Yzr6+aIV8ytF/RrAX
+ie2I3w2R10agdkkkhmra4D/oJB/aTk5tW4aLr2p2Wkin/mDHVcdc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_05,KB_WAM_FROM_NAME_SINGLEWORD,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=roger, PE, Roger, leidos
X-HELO: EMP-EXED102.leidos.com
Subject: Re: EXTERNAL: Re: sort utility goes berzerk (x86_64)
To: <cygwin AT cygwin DOT com>
References: <177e9f9fe723eadd4a8e41e5e032d56d AT smtp-cloud9 DOT xs4all DOT net> <eeee637eb6e6b01641d33930e178cbae AT xs4all DOT nl> <20171128090329 DOT GN547 AT calimero DOT vinschen DOT de>
From: "Wells, Roger K." <wellsr AT leidos DOT com>
Message-ID: <1f7bc3ed-7194-5d85-7f19-4ca6d8b3ad05@leidos.com>
Date: Tue, 28 Nov 2017 10:42:07 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <20171128090329.GN547@calimero.vinschen.de>
X-IsSubscribed: yes

On 11/28/2017 04:04 AM, Corinna Vinschen wrote:
> On Nov 28 08:21, Houder wrote:
>> On 2017-11-25 14:23, Houder wrote:
>>> Hi,
>>>
>>> Anyone seeing this as well? sort goes berzerk on my system when piped
>>> into
>>> head (or less) when it is fed with a 'specially prepared' input file.
>>>
>>>   - only happens on x86_64
>>>   - does not happen for 'LC_COLLATE=C sort tt | head'
>>>
>>> 'specially prepared' input file? (see bottom of post).
>> Anyone ** NOT ** seeing this?
> Yes.  I just tried it under tcsh and bash with 6000, 8000, and 8150 lines,
> and it works for me.  LANG=en_US.UTF-8 implies LC_COLLATE=en_US.UTF-8
> but I also set LC_COLLATE explicitely and retried.  sort tt | head
> always prints
>
>    abcde    1xxxxx0123456789
>    abcde    2xxxxx0123456789
>    abcde    3xxxxx0123456789
>    abcde    4xxxxx0123456789
>    abcde    5xxxxx0123456789
>    abcde    6xxxxx0123456789
>    abcde    7xxxxx0123456789
>    abcde    8xxxxx0123456789
>    abcde    9xxxxx0123456789
>    abcde   10xxxxx0123456789
>
> and then returns to the prompt.
Same here, at least using bash
>
> Corinna
>

-- 
Roger Wells, P.E.
leidos
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger DOT k DOT wells AT leidos DOT com


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019