From nobody@FreeBSD.org  Sun Jul 18 10:31:51 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E168116A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Jul 2004 10:31:51 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DB6B143D3F
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Jul 2004 10:31:51 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i6IAVpwk023472
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Jul 2004 10:31:51 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i6IAVp9u023471;
	Sun, 18 Jul 2004 10:31:51 GMT
	(envelope-from nobody)
Message-Id: <200407181031.i6IAVp9u023471@www.freebsd.org>
Date: Sun, 18 Jul 2004 10:31:51 GMT
From: Vitaly Markitantov <ua_vitaly@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /usr/bin/tr with option -d doesn't works
X-Send-Pr-Version: www-2.3

>Number:         69235
>Category:       bin
>Synopsis:       /usr/bin/tr with option -d doesn't works
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 18 10:40:20 GMT 2004
>Closed-Date:    Sun Jul 18 12:02:35 GMT 2004
>Last-Modified:  Sun Jul 18 12:02:35 GMT 2004
>Originator:     Vitaly Markitantov
>Release:        5.2-CURRENT
>Organization:
>Environment:
FreeBSD freedo2.xxx.xxx 5.2-CURRENT-20040710-JPSNAP FreeBSD 5.2-CURRENT-20040710-JPSNAP #1: Thu Jul 15 22:09:36 EEST 2004     vix@freedo2.xxx.xxx:/usr/obj/usr/src/sys/FREEDO2  i386
>Description:
/usr/bin/tr with option -d  doesn't works as described in manual or standard.
tr -d just sends nothing to stdout
>How-To-Repeat:
cat /COPYRIGHT|tr -d 'A'

You will see empty output
>Fix:
Backout to version of usr.bin/tr before this commit:
http://lists.freebsd.org/pipermail/cvs-src/2004-July/027050.html

>Release-Note:
>Audit-Trail:

From: Maxim Konovalov <maxim@macomnet.ru>
To: Vitaly Markitantov <ua_vitaly@yahoo.com>
Cc: bug-followup@freebsd.org
Subject: Re: bin/69235: /usr/bin/tr with option -d doesn't works
Date: Sun, 18 Jul 2004 14:53:49 +0400 (MSD)

 Could you please try a more recent version of tr(1)?  I couldn't
 observed the described behaviour on my very -CURRENT system.
 
 -- 
 Maxim Konovalov

From: Maxim Konovalov <maxim@macomnet.ru>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: bin/69235: /usr/bin/tr with option -d doesn't works (fwd)
Date: Sun, 18 Jul 2004 15:54:36 +0400 (MSD)

 Added to the audit trail.
 
 -- 
 Maxim Konovalov
 
 ---------- Forwarded message ----------
 Date: Sun, 18 Jul 2004 04:50:12 -0700 (PDT)
 From: Vitaly Markitantov <ua_vitaly@yahoo.com>
 To: Maxim Konovalov <maxim@macomnet.ru>
 Subject: Re: bin/69235: /usr/bin/tr with option -d doesn't works
 
 --- Maxim Konovalov <maxim@macomnet.ru> wrote:
 > On Sun, 18 Jul 2004, 04:30-0700, Vitaly Markitantov wrote:
 >
 > > --- Maxim Konovalov <maxim@macomnet.ru> wrote:
 > > > Could you please try a more recent version of tr(1)?  I couldn't
 > > > observed the described behaviour on my very -CURRENT system.
 > > >
 > >
 > > As i see on http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/tr/tr.c
 > > version, that i have
 > >
 > > $cat /usr/src/usr.bin/tr/tr.c | grep FBSDID
 > > __FBSDID("$FreeBSD: src/usr.bin/tr/tr.c,v 1.23 2004/07/09 05:15:46 tjr Exp
 > $");
 > >
 > > is latest in -CURRENT
 >
 > $ ident tr
 > tr:
 >      $FreeBSD: src/lib/csu/ia64/crt1.S,v 1.2 2003/07/15 03:50:38 marcel Exp $
 >      $FreeBSD: src/usr.bin/tr/cmap.c,v 1.2 2004/07/14 08:36:09 tjr Exp $
 >      $FreeBSD: src/usr.bin/tr/cset.c,v 1.3 2004/07/14 08:33:14 tjr Exp $
 >      $FreeBSD: src/usr.bin/tr/str.c,v 1.23 2004/07/09 02:08:07 tjr Exp $
 >      $FreeBSD: src/usr.bin/tr/tr.c,v 1.23 2004/07/09 05:15:46 tjr Exp $
 >
 > Please compile tr(1) from the attached archive and make your tests.
 
 This tr from archive runs as needed.
 Looks like my version of tr is really outdated. Sorry for noice.
 
 $ ident `which tr`
 /usr/bin/tr:
      $FreeBSD: src/lib/csu/i386-elf/crti.S,v 1.6 2002/05/15 04:19:49 obrien Exp
 $
      $FreeBSD: src/lib/csu/i386-elf/crtn.S,v 1.5 2002/05/15 04:19:49 obrien Exp
 $
      $FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4 2003/10/17 15:43:13 peter
 Exp $
      $FreeBSD: src/lib/csu/i386-elf/crt1.c,v 1.12 2003/01/26 23:14:47 markm Exp
 $
      $FreeBSD: src/usr.bin/tr/cmap.c,v 1.1 2004/07/09 02:08:07 tjr Exp $
      $FreeBSD: src/usr.bin/tr/cset.c,v 1.1 2004/07/09 02:08:07 tjr Exp $
      $FreeBSD: src/usr.bin/tr/str.c,v 1.23 2004/07/09 02:08:07 tjr Exp $
      $FreeBSD: src/usr.bin/tr/tr.c,v 1.23 2004/07/09 05:15:46 tjr Exp $
 
 
 =====
 Vitaly Markitantov
 +38050-3530077
 
 
 
 __________________________________
 Do you Yahoo!?
 Vote for the stars of Yahoo!'s next ad campaign!
 http://advision.webevents.yahoo.com/yahoo/votelifeengine/
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Sun Jul 18 12:02:13 GMT 2004 
State-Changed-Why:  
Fixed in recent -CURRENT. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69235 
>Unformatted:
