Hot Diggety! Richard Chycoski was rumored to have written:
>
> Do a 'which basename', it should point to /usr/bin/basename. On the
> Solaris 7 system that I checked, it is a 901 byte shell script dated Oct
> 6 1998. It has a sum of '3031 2'. (I'm not including the script here
> because it is copyrighted by AT&T).
I had forgotten basename was a script prior to Solaris 10 -- good catch.
(Starting in Sol10, it's a binary executable file.)
Well, given the Solaris 7 basename is a script, one could do:
$ sh -x /usr/bin/basename [<any args used>]
...to see what it's doing when it goes 'funky'.
-Dan
_______________________________________________
Tech mailing list
[email protected]
http://lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
http://lopsa.org/