NetBSD Problem Report #40214

From www@NetBSD.org  Thu Dec 18 09:25:46 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id B0CE163BA6E
	for <gnats-bugs@gnats.netbsd.org>; Thu, 18 Dec 2008 09:25:46 +0000 (UTC)
Message-Id: <20081218092545.BF70063BA47@narn.NetBSD.org>
Date: Thu, 18 Dec 2008 09:25:45 +0000 (UTC)
From: arto.huusko@pp2.inet.fi
Reply-To: arto.huusko@pp2.inet.fi
To: gnats-bugs@NetBSD.org
Subject: cut -f output description wrong
X-Send-Pr-Version: www-1.0

>Number:         40214
>Category:       bin
>Synopsis:       cut -f output description wrong
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 18 09:30:00 +0000 2008
>Closed-Date:    Sun Dec 21 18:13:23 +0000 2008
>Last-Modified:  Tue Dec 23 03:50:02 +0000 2008
>Originator:     Arto Huusko
>Release:        4.99.72
>Organization:
>Environment:
>Description:
cut(1) says:

-f list The list specifies fields, delimited in the input by a single
        tab character.  Output fields are separated by a single tab
        character.

The last sentence is wrong: the fields are separated by the delimiter character (default tab, but -d can be used to change the delimiter).
>How-To-Repeat:
man cut(1)
>Fix:
SUS v3 says instead:

"Output fields shall be separated by a single occurrence of the field delimiter character."

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sun, 21 Dec 2008 18:13:23 +0000
State-Changed-Why:
Fixed, thanks!


From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/40214 CVS commit: src/usr.bin/cut
Date: Sun, 21 Dec 2008 18:13:07 +0000 (UTC)

 Module Name:	src
 Committed By:	wiz
 Date:		Sun Dec 21 18:13:07 UTC 2008

 Modified Files:
 	src/usr.bin/cut: cut.1

 Log Message:
 Fix PR 40214 from Arto Huusko -- field delimiter is not always <TAB>.
 Wording from OpenBSD, forwarded by jmc@openbsd.


 To generate a diff of this commit:
 cvs rdiff -r1.14 -r1.15 src/usr.bin/cut/cut.1

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/40214 CVS commit: [netbsd-5] src/usr.bin/cut
Date: Tue, 23 Dec 2008 03:47:20 +0000 (UTC)

 Module Name:	src
 Committed By:	snj
 Date:		Tue Dec 23 03:47:20 UTC 2008

 Modified Files:
 	src/usr.bin/cut [netbsd-5]: cut.1

 Log Message:
 Pull up following revision(s) (requested by wiz in ticket #198):
 	usr.bin/cut/cut.1: revision 1.15
 Fix PR 40214 from Arto Huusko -- field delimiter is not always <TAB>.
 Wording from OpenBSD, forwarded by jmc@openbsd.


 To generate a diff of this commit:
 cvs rdiff -r1.14 -r1.14.26.1 src/usr.bin/cut/cut.1

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.