At 12:09 -0400 4/18/01, [EMAIL PROTECTED] wrote:
>On Wed, Apr 18, 2001 at 08:55:06AM -0700, John W Baxter wrote:
>} At 6:21 -0400 4/18/01, Paul J. Schinder wrote:
>} >There's a HEAD that comes with libwww-perl, and that's what
>} >/usr/bin/head is. Chalk it up to the joys of case insensitivity, I
>} >guess. They expect /usr/bin/head to be head(1), since they use it
>} >that way in /etc/weekly.
>}
>} And indeed, /usr/bin/head on my MacOS X machine has always* been the
>} head(1) command. I haven't tried installing Perl 5.6.1.
>}
>} *for small values of "always": starting March 24, 2001. ;-)
>
>I have installed 5.6.1, but I think I noticed that this was a problem
>right off the bat. Did you install the Developer CD? (I don't know
>which CD perl actually came on, or whether pieces of it might be on
>both.)
Perl is on the basic install CD (I had it before I installed the Developer
stuff, which was several days after the basic installation).
Although...there could be more of Perl on the Developer CD...I haven't
checked. I don't *seem* to have libwww.
And /usr/bin/head has steadfastly remained head(1), at least so far.
Of course, testing is tricky (it appears that which emits the leaf name
from its input, not from what it sees in the directory it finds...in a case
sensitive world, that isn't visible). [Ignore the "Hello, John"...I wanted
to make sure I had found the right file to put stuff into for root
startup.]:
[localhost:~] john% which HEAD
/usr/bin/HEAD
[localhost:~] john% which head
/usr/bin/head
[localhost:~] john% sudo which HEAD
Hello, John
/usr/bin/HEAD
[localhost:~] john% sudo which head
Hello, John
/usr/bin/head
[localhost:~] john%
And now, for fun:
[localhost:~] john% sudo ls /usr/bin | HEAD -n5
.DS_Store
CFInfoPlistConverter
a2p
addftinfo
addr
[localhost:~] john%
sudo probably not needed. But...here's a pair I don't understand...I
expected the same result as john that I got with the sudo:
[localhost:~] john% which HeAd
HeAd: Command not found.
[localhost:~] john% sudo which HeAd
Hello, John
/usr/bin/HeAd
--John (time to go...it's Mexican night at the local Cafe...or cAFE)
--
John Baxter [EMAIL PROTECTED] Port Ludlow, WA, USA