delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/11/28/04:03:59

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=pfsfDSNliiNSuTKOVx6GrCDQ3oO9osrnP2FziHNDTU0RQce/1nfRq
isHSQCS7xonYL8Xl//W7wsnHAcDjh0z0iuhe+BIqvZlOtDz7Yvfoh0MHU7Jrxjgx
XFM5Vjzz+G9kCYpIFD/Osnm7qKq00zxPkCbsE4am5oUXkAVG4TARMo=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=4pNGctSzFHqQAEKsNnb18Wcyqnw=; b=xxA8sBZs1VjwOdemN0Gq31VtRHIo
vCdozA8LB+86wagHt99rgvjw3NduTrSu2yWPp7qCgrK22tQcym+29LVAif2wqhiK
LO/jh/GVtWX+a1Ef7praS3WnvS9IaYHf1IAixQgmKt7IkbU7pm/PBWfC6dg3euJL
f9+GZUdZL5HO8jg=
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=-101.3 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,KB_WAM_FROM_NAME_SINGLEWORD,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=H*R:D*cygwin.com, mails, H*R:U*cygwin, Hx-spam-relays-external:sk:busines
X-HELO: drew.franken.de
Date: Tue, 28 Nov 2017 10:03:29 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: sort utility goes berzerk (x86_64)
Message-ID: <20171128090329.GN547@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <177e9f9fe723eadd4a8e41e5e032d56d AT smtp-cloud9 DOT xs4all DOT net> <eeee637eb6e6b01641d33930e178cbae AT xs4all DOT nl>
MIME-Version: 1.0
In-Reply-To: <eeee637eb6e6b01641d33930e178cbae@xs4all.nl>
User-Agent: Mutt/1.9.1 (2017-09-22)

--MW5yreqqjyrRcusr
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Nov 28 08:21, Houder wrote:
> On 2017-11-25 14:23, Houder wrote:
> > Hi,
> >=20
> > 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.
> >=20
> >  - only happens on x86_64
> >  - does not happen for 'LC_COLLATE=3DC sort tt | head'
> >=20
> > 'specially prepared' input file? (see bottom of post).
>=20
> 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=3Den_US.UTF-8 implies LC_COLLATE=3Den_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.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--MW5yreqqjyrRcusr
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJaHSZhAAoJEPU2Bp2uRE+gGp8P/10o9CFMOPEDe1c+fToEZxHN
biUrRqMYlmGkGJ5B05mRVZx/VlcJwwG1jUT6BOwb1Q/GgU7ukgSfCYlmmIxWrMNz
+xnSI3qMkhr9yG22Oj+294yks9I0MXv+vtH6whs6RFdUu6/7/sE+vIeXd8F4WxIW
JWH/id4I61CEFfUhxOXqo0Bh0xLUoCc8m6mBSgpI2RbdivuKZ8+h/rRTS1EthEOZ
EGGkkBmlwC+lWPxLtH7qQbRTN0uwh6coGh/W/UonPzG2nD9PvyGiLzmZH89wCEZR
XYOs8BhGLiwppM5/kbbVEgxyjg1CJ+RuMy9bTjnVTJxHLcSUI3vyaPgGFA0AUbKV
FEpREgUBKUXjMRTZxmfzulpjJOwdDjRkhjMh+XZphZ5MWfPAUIKeUOHww0+XX6ap
+B+fCWSs4SP6ODRsUDvt4Jh50OBOzB7DeFtiPksacO4H5gMbEULKGSz+IFiqky2v
zunyDPxyp5puzABKtJV1kFVyeXHilKB9Ei7JJkc6bqEBu2Jc/w3IxGcYQvuFefni
YqKfU5Xc3UytueQ3SlSrnDJUkJAFPawc6Ol7A6hlpDUX0fcjFD9Y1/qMqmHCYPO6
5uggP41+acd3pkVjRiwGIBmh1kG+4y8jdNCvp/x9VaomIZLZlmy/82Qon2CgNHbS
65VpciveIP5SZHbz2jEx
=Zn5Z
-----END PGP SIGNATURE-----

--MW5yreqqjyrRcusr--

- Raw text -


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