Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 8 Apr 2003 13:35:37 +0100 From: Dan Hatton X-X-Sender: dan AT DAN-HATTON DOT geol DOT ucl DOT ac DOT uk To: cygwin AT cygwin DOT com Subject: Problem with ls and similar commands in tcsh Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 X-UCL-MailScanner: Found to be clean Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id h38CVQQ15901 I just spotted the thread of this title, in the ñ archive for October 2002. I've been having the same problems [1], and have traced the "If: expression syntax" error to the lines if ( -r $HOME/.netrc ) then and if ( -f $HOME/.mh_profile && -x "`which folders`" ) then in /etc/profile.d/complete.tcsh This also explains the problem expanding the wildcard in ls, since if complete.tcsh ran all the way through, it would (at least under some cirumstances) unset noglob. However, I still don't know how to solve the problem. Any ideas, please? Hint: the problem appears to be dependent on which user is running tcsh. [1] The problems are: tcsh reports the error "If: expression syntax" on startup, and ls fails to expand the wildcard *. -- Thanks Dan Hatton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/