Ultrix 4.1 undocumented /usr/bin/pgmrvers smashes /usr/bin/make symlink

Ian! D. Allen [CGL] idallen at watcgl.waterloo.edu
Thu Feb 28 09:32:17 AEST 1991


#include <standard comment about lack of electronic SPR to DEC>

DS5400 ULTRIX V4.1 (Rev. 52)

Beware of the undocumented shell script pgmrvers:

    # pgmrvers
    Select one of the following versions [2.0 2.1] :

If you simply press return in response to the above, your
/usr/bin/world will be quite changed when the script finally finishes.
In particular, /usr/bin/make and any other symlinks in /usr/bin will be
useless symlinks to themselves.  I suppose I can't post the offending
shell script code or the fix, but I can say that I'd like the people at
DEC who write such programs to check for null input before using it.

The script also starts without using the -f flag to csh, so it reads
all my aliases, and it doesn't set its own search path, so if I have a
different version of "ls" in my path when I start the script or as an
alias the script uses my version instead of the expected one.
-- 
-IAN! (Ian! D. Allen) idallen at watcgl.uwaterloo.ca idallen at watcgl.waterloo.edu
 [129.97.128.64]  Computer Graphics Lab/University of Waterloo/Ontario/Canada



More information about the Comp.unix.ultrix mailing list