Date: Thu, 22 May 2014 09:35:34 GMT From: Anton Yuzhaninov <citrin+pr@citrin.ru> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/190099: BSD sort - merge sort don't work for stdin Message-ID: <201405220935.s4M9ZYBK075301@aleph.mgmt.vega.ru> Resent-Message-ID: <201405220950.s4M9o5Jg011459@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 190099 >Category: bin >Synopsis: BSD sort - merge sort don't work for stdin >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu May 22 09:50:04 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Anton Yuzhaninov >Release: FreeBSD 10.0-STABLE-20140515 amd64 >Organization: Openstat.ru >Environment: System: FreeBSD aleph.mgmt.vega.ru 10.0-STABLE-20140515 FreeBSD 10.0-STABLE-20140515 #0 r266115M: Thu May 15 07:47:52 UTC 2014 root@aleph.mgmt.vega.ru:/usr/obj/usr/src/sys/MGMT amd64 >Description: There is regression in BSD sort compared to GNU sort --merge option no longer works for stdin Upgrade from FreeBSD 8 to FreeBSD 10 caused breakage of our scripts where used constructions like: script_foo | sort ... | cut ... | sort -mu -k 1,1 | script_bar >How-To-Repeat: :~> cat ttt key1 foo key1 bar key2 xzy :~> cat ttt | sort -mu -k 1,1 :~> :~> sort --version 2.3-FreeBSD Expected result: :~> cat ttt | sort -mu -k 1,1 key1 foo key2 xzy :~> sort --version sort (GNU coreutils) 5.3.0-20040812-FreeBSD Written by Mike Haertel and Paul Eggert. ... >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405220935.s4M9ZYBK075301>