Change to /etc/profile

Webb Roberts webb.roberts@gtri.gatech.edu
Fri Apr 1 15:47:00 GMT 2005


I would suggest a small change to /etc/profile.

/etc/profile is being run by bash, which has pretty substantial filename 
expansion.  For example,

	echo [a-z]ib

Will respond 'lib' if there is a lib directory.  In /etc/profile, there 
is a tr command:

	/usr/bin/tr [:upper:] [:lower:]

which is hitting a couple of directories in my $HOME, namely 'r' and 
'w'.  So the tr is getting weird arguments (tr r w r) and complaining. 
This could be fixed by changing that part to

	/usr/bin/tr '[:upper:]' '[:lower:]'

Please let me know if there's a bug tracking system, or similar, to 
which you'd rather me submit this bug report.

Thanks,
Webb Roberts

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list