From owner-freebsd-bugs Sun Dec 13 17:00:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA05765 for freebsd-bugs-outgoing; Sun, 13 Dec 1998 17:00:05 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA05714 for ; Sun, 13 Dec 1998 17:00:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from Unknown UID 563@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id RAA19940; Sun, 13 Dec 1998 17:00:00 -0800 (PST) Received: from nina.pagesz.net (nina.pagesz.net [208.194.157.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA05634 for ; Sun, 13 Dec 1998 16:59:17 -0800 (PST) (envelope-from rhh@pagesz.net) Received: from stealth.dummynet. (juana-33.pagesz.net [208.213.126.33]) by nina.pagesz.net (8.8.7/8.8.7) with ESMTP id TAA19466; Sun, 13 Dec 1998 19:59:57 -0500 Received: (from rhh@localhost) by stealth.dummynet. (8.9.1/8.8.8) id UAA05991; Sun, 13 Dec 1998 20:00:21 -0500 (EST) (envelope-from rhh) Message-Id: <199812140100.UAA05991@stealth.dummynet.> Date: Sun, 13 Dec 1998 20:00:21 -0500 (EST) From: aa8vb@pagesz.net To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: aa8vb@pagesz.net X-Send-Pr-Version: 3.2 Subject: bin/9069: "tr" command bug Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 9069 >Category: bin >Synopsis: "tr" command bug >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 13 17:00:00 PST 1998 >Last-Modified: >Originator: Randall Hopper >Organization: self >Release: FreeBSD 3.0-RELEASE i386 >Environment: Stock 3.0-RELEASE >Description: Run: > tr -d "\004\032" | tr "[\200-\377]" "[\000-\177]" Type: a ^D You should see: a You actually see: aD This seems like a bug. Note that piping "echo 'a'" into this command pipe generates the correct output ("a"). >How-To-Repeat: See above. Tried with tcsh and sh, so not shell-specific. Maybe related to stdin being a terminal. >Fix: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message