tcsh 5.20.02 bug with sun3-OS4.1.1 make ?

Christos S. Zoulas christos at theory.TC.Cornell.EDU
Thu Jun 13 14:40:12 AEST 1991


In article <GPLAN.91Jun12153907 at sol.aer.com> gplan at 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 at ee.cornell.edu | Cornell University, Ithaca NY 14853.
christos at crnlee.bitnet  | Phone: (607) 255 0302, Fax: (607) 255 9072



More information about the Comp.unix.shell mailing list