From owner-freebsd-bugs Sun Dec 13 22:27:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA05891 for freebsd-bugs-outgoing; Sun, 13 Dec 1998 22:27:27 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from mailb.telia.com (mailb.telia.com [194.22.194.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA05484 for ; Sun, 13 Dec 1998 22:26:24 -0800 (PST) (envelope-from listuser@netspace.net.au) Received: from d1o1.telia.com (root@d1o1.telia.com [195.67.240.241]) by mailb.telia.com (8.8.8/8.8.8) with ESMTP id HAA08084 for ; Mon, 14 Dec 1998 07:26:17 +0100 (CET) Received: from doorway.home.lan (t6o1p59.telia.com [195.67.241.119]) by d1o1.telia.com (8.8.8/8.8.5) with ESMTP id HAA18405 for ; Mon, 14 Dec 1998 07:26:15 +0100 (CET) Received: (from listuser@localhost) by doorway.home.lan (8.8.8/8.8.7) id GAA07999 for freebsd-bugs@FreeBSD.org; Mon, 14 Dec 1998 06:54:57 +0100 (CET) (envelope-from listuser) Date: Mon, 14 Dec 1998 06:54:57 +0100 (CET) From: List User Message-Id: <199812140554.GAA07999@doorway.home.lan> To: freebsd-bugs@FreeBSD.ORG Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Newsgroups: freebsd.bugs Path: root From: aa8vb@pagesz.net Subject: bin/9069: "tr" command bug X-Send-Pr-Version: 3.2 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) To: FreeBSD-gnats-submit Sender: owner-freebsd-bugs@FreeBSD.ORG Organization: Private News Host Message-ID: <199812140100.UAA05991@stealth.dummynet.> X-Uidl: cafb1012d8c98006cfd11a0cbc9d1211 X-Loop: FreeBSD.org Cc: aa8vb Date: Mon, 14 Dec 1998 01:00:21 GMT >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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message