Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 1998 15:00:01 -0800 (PST)
From:      Bill Fenner <fenner@parc.xerox.com>
To:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/9069: "tr" command bug 
Message-ID:  <199812142300.PAA24152@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/9069; it has been noted by GNATS.

From: Bill Fenner <fenner@parc.xerox.com>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812142300.PAA24152>