delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/01/10:48:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <424D6CF0.3040104@gtri.gatech.edu>
Date: Fri, 01 Apr 2005 10:46:56 -0500
From: Webb Roberts <webb DOT roberts AT gtri DOT gatech DOT edu>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Change to /etc/profile

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019