At 07:34 AM -0700 2002-08-16, drieux wrote:
>On Friday, August 16, 2002, at 07:02 , Andy White wrote:
>[..]
>
>p0: given the default Config.pm that opted to put everything
>you
>install into /usr/bin - yes, it will stomp on /usr/bin/head....

Thanks - I assume you mean /System/Library/Perl/darwin/Config.pm

Beats me why Apple didn't use prefix=/usr/local - so I'm guessing 
it's probably not something a mere mortal should go and change right 
?  Back to hand installing modules methinks.


>/usr/bin/head - is normally a compiled binary that came
>with the system - but 'get' and 'post' are not - so all
>you need to do is recover /usr/bin/head itself... or
>remake it from source code....
>
>>get|GET|post|POST
>[..]
>
>I may be misinterpretting your command here, have you tried

Sorry, just speaking perlglish - I meant I tried 'which' on all of 
those and got what you have below

>[jeeves:~] drieux% which get GET post POST
>/usr/bin/get
>/usr/bin/GET
>/usr/bin/post
>/usr/bin/POST
>[jeeves:~] drieux%

I thought this was just a 'case' issue too, until I tried:

   [localhost:~] andy% which CAT
   CAT: Command not found.

<scratches head again>

<groan> - I see, 'which' is case insensitive for commands in 
/usr/bin, but does care in /bin - added to your heAD finding, the 
whole thing is a bit below the belt.

I sure wish Apple would provide a 'man weirdness' or a prominent 
"readme-if-you-have-used-other-unixen-before.txt".  'man which' 
*should* point this feature out - we'll have to change RTFM to 
RTMATAFG!

I guess this has been a good HEADs up for me, with damage restricted 
to one clobbered file - I got off easy.

Thanks for the help.
-- 
&2.718...

Reply via email to