From owner-freebsd-bugs Mon Dec 14 17:20:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA14429 for freebsd-bugs-outgoing; Mon, 14 Dec 1998 17:20: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 RAA14398 for ; Mon, 14 Dec 1998 17:20: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 RAA02924; Mon, 14 Dec 1998 17:20:01 -0800 (PST) Date: Mon, 14 Dec 1998 17:20:01 -0800 (PST) Message-Id: <199812150120.RAA02924@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Randall Hopper Subject: Re: bin/9069: "tr" command bug Reply-To: Randall Hopper 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: Randall Hopper To: Bill Fenner Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/9069: "tr" command bug Date: Mon, 14 Dec 1998 20:18:51 -0500 Bill Fenner: |> 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. Thanks. Yes, a "^D" string being printed didn't occur to me. I tried to this on other UNIXes and didn't see this, so I presumed to quickly that this might be a bug. Besides not taking input from the terminal, is there any way that you know of to disable printing of the "^D" when input is from the terminal? I checked stty(1) with no success. Thanks, Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message