From owner-freebsd-bugs Mon Dec 14 15:00:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA26601 for freebsd-bugs-outgoing; Mon, 14 Dec 1998 15:00:03 -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 PAA26595 for ; Mon, 14 Dec 1998 15:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from Unknown UID 563@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id PAA24152; Mon, 14 Dec 1998 15:00:01 -0800 (PST) Date: Mon, 14 Dec 1998 15:00:01 -0800 (PST) Message-Id: <199812142300.PAA24152@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Bill Fenner Subject: Re: bin/9069: "tr" command bug Reply-To: Bill Fenner Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/9069; it has been noted by GNATS. From: Bill Fenner To: aa8vb@pagesz.net Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/9069: "tr" command bug Date: Mon, 14 Dec 1998 14:51:08 PST > Maybe related to stdin being a terminal. Right. Try the same with "cat" -- for example, type "a^D" (with no CR) into "cat". You see "aaD". This is just because the ^D is printed as "^" "D" "^H" "^H". Use "echo" or some other way of taking input from somewhere other than the terminal if you don't want to get confused by this. Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message