Newsgroups: comp.unix.shell Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!theory.TC.Cornell.EDU!christos From: christos@theory.TC.Cornell.EDU (Christos S. Zoulas) Subject: Re: tcsh 5.20.02 bug with sun3-OS4.1.1 make ? Message-ID: <1991Jun13.044012.13921@batcomputer.tn.cornell.edu> Sender: news@batcomputer.tn.cornell.edu Nntp-Posting-Host: theory.tc.cornell.edu Organization: Electrical Engineering, Cornell University, Ithaca NY References: Date: Thu, 13 Jun 1991 04:40:12 GMT In article gplan@sol.aer.com (George A. Planansky) writes: >An error ("unreadable") occurs using command line arguments to make >with tcsh, but not with csh, as listed below. Anyone know what is wrong? > >Sun3/60 SunOS 4.1.1 make >tcsh 5.20.02 (Cornell) 12/07/90 options 8b,nls,el,dl,al,dir > >In tcshell: > > cirrus[235]#make -n LIBDIR=$gnu/lib/emacs > > LIBDIR=/usr/local/gnu/ unreadable > > LIBDIR=/usr/local/gnu/lib/ unreadable This is a problem with the automatic correction code. You have $correct set to "all". Tcsh tries to correct all the arguments, Unfortunately it does not parse correctly the LIBDIR=$gnu/lib/emacs, and tries to find if the whole directory exists. If you unset correct, it works fine. It is impossible to determine what the user really meant in cases like this. LIBDIR= could have been a valid path component... [mkdir LIBDIR= LIBDIR=/usr ..] I should add a `caveats' paragraph on that section of the manual page. christos -- Christos Zoulas | 389 Theory Center, Electrical Engineering, christos@ee.cornell.edu | Cornell University, Ithaca NY 14853. christos@crnlee.bitnet | Phone: (607) 255 0302, Fax: (607) 255 9072