[8096] in Athena Bugs

home help back first fref pref prev next nref lref last post

rsaix 7.3M: tr

daemon@ATHENA.MIT.EDU (Tom Palka)
Wed Sep 4 11:02:36 1991

To: bugs@ATHENA.MIT.EDU
Date: Wed, 04 Sep 91 11:03:07 EDT
From: Tom Palka <tompalka@ATHENA.MIT.EDU>

System name:		M11-115-5
Type and version:	POWER 7.3M
Display type:		colorgda

What were you trying to do?
	I was trying to convert a string to all lowercase letters.

What's wrong:
	It didn't work.  There are two versions of tr that are in the
path:

	> where tr
	/usr/ucb/tr
	/usr/bin/tr

	> which tr
	/usr/ucb/tr

	> echo ASDFASDFASDF | /usr/ucb/tr A-Z a-z
	asdfasdfasdf

	> echo ASDFASDFASDF | /usr/bin/tr A-Z a-z
	aSDFaSDFaSDF

Although the default one works, the other one doesn't.  Is there a
reason for that?

What should have happened:
	It should've worked.

Please describe any relevant documentation references:
	man tr

home help back first fref pref prev next nref lref last post