[comp.unix.ultrix] Ultrix 4.1; is it /usr/bin/what or /usr/ucb/what or what?

D. Allen [CGL]" <idallen@watcgl.waterloo.edu> (02/28/91)

I'd put this on an electronic SPR form if DEC had one.

I discovered that "cc -V" didn't work on Ultrix 4.1:

    # cc -V
    cc  (cc)
	Mips Computer Systems 2.0
    cc: Error: Can't find or exec: /usr/bin/what : No such file or directory
    [...a dozen lines like the above...]

So I went looking for "what" and found two of them:

/usr/etc/subsets/UDTSCCS410.inv:0       23664   47281   0       10      100755
    8/28/90 410     f       ./usr/bin/what  none    UDTSCCS410
/usr/etc/subsets/UDXBASE410.inv:0       24576   40092   0       0       100755
    7/19/90 410     f       ./usr/ucb/what  none    UDXBASE410

Someone must have forgot to make the subset that contains CC depend on
the subset that contains SCCS.  Or maybe CC needs to know how to
search $PATH and find /usr/ucb/what.  Or maybe it should just use
/usr/ucb/what, since that's in the base subset.  Or whatever.

In any case, both of these binaries produce almost identical output
and we really don't need two of them, so I'm linking /usr/bin/what to
/usr/ucb/what.  (We don't use SCCS.)  Eh, what!
-- 
-IAN! (Ian! D. Allen) idallen@watcgl.uwaterloo.ca idallen@watcgl.waterloo.edu
 [129.97.128.64]  Computer Graphics Lab/University of Waterloo/Ontario/Canada