Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 1997 15:01:25 +0900 (JST)
From:      shigio@wafu.netgate.net
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        shigio@wafu.netgate.net
Subject:   gnu/3910: sort(1) of 2.2.1R doesn't work correctly.
Message-ID:  <199706192206.WAA10614@wafu.netgate.net>
Resent-Message-ID: <199706200610.XAA13984@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3910
>Category:       gnu
>Synopsis:       sort(1) of 2.2.1R doesn't work in special case.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 19 23:10:00 PDT 1997
>Last-Modified:
>Originator:     Shigio Yamaguchi
>Organization:
Freelance programmer
>Release:        FreeBSD 2.2.1-RELEASE i386
>Environment:

	All environment

>Description:

	Sort(1) is effected by blanks around skipped column.

	For example, 

	% cat | sort +0b -1 +2b -3
	A A B
	A  A A
	^D

	should be sorted as follows.

	A  A A
	A A B

	But the result is this.

	A A B
	A  A A

	If you make these columns even like this, it works well.

	A A B
	A A A

	(Sort(1) of FreeBSD 2.1.5R works well.)

>How-To-Repeat:

	% cat | sort +0b -1 +2b -3
	A A B
	A  A A
	^D
	A A B
	A  A A

>Fix:

	I don't know.
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706192206.WAA10614>