Jan Eden wrote on 06.01.2005:

>Hi,
>
>I did not use my UNIX head tool in a while. When I tried to call it
>recently, I found that a Perl script resides in /usr/bin which was
>obviously put there when installing the LWP module.
>
>/usr/bin/tail is still there, but my original is gone/overwritten.
>/Why did LWP 
>do that? man head still describes the original head.
>
>When I first looked at /usr/bin after doing which head, there was no
>head when listing hea*, but it showed up when listing head.
>
>Strange things going on - can someone shed a light on this?
>
Found an explanation - but no solution. I saw this in a tutorial:
---
sudo mv /usr/bin/head /tmp

 sudo perl -MCPAN -e 'shell'
 cpan> install HTML::Parser
 cpan> install LWP

 sudo mv /usr/bin/get /usr/local/bin/lwp-get
 sudo mv /usr/bin/head /usr/local/bin/lwp-head
 sudo mv /usr/bin/post /usr/local/bin/lwp-post

 sudo mv /tmp/head /usr/bin
 ---
 So it is obviously a known (mis)behaviour of LWP to overwrite the original 
head.

Does someone know where on the Panther installation discs the original head is 
located?

Thanks,

Jan

-- 
A common mistake that people make when trying to design something completely 
foolproof is to underestimate the ingenuity of complete fools.

Reply via email to