Thanks, for letting me know I am not nuts. Unfortunately, I've already replaced the wrong one with the right one. I guess I need to get the perl version from somewhere so I can rename it. Do you know which package contains that version? Thanks.

On Jun 15, 2006, at 7:31 AM, Andy Holyer wrote:


On 15 Jun 2006, at 12:22, Dennis Putnam wrote:

I'm not exactly sure this is what happened but I can't think of anything else. After installing several packages from CPAN, my daily log maintenance began failing. After some investigation I found that '/etc/periodic/daily/500.daily' was getting an error from the '/usr/bin/head' command. When I ran 'head' manually the command was not the normal one. It appears that one of the perl packages replaced the normal 'head' command that works on files, with one that works on URLs. Has anyone encountered this, or can anyone determine if my surmise about one of the perl packages is correct? Thanks.

This is a common gotcha on Os X. For some reason which I forget, but which I think was due to backwards compatibility with earlier versions of MacOs, the standard file system is not case sensitive: HEAD and head are considered equivalent.

In the Perl distribution there is a script called "HEAD" which indeed does fetch the header of an HTML file from the web. This clashes with the standard Unix "head" command.

There is a standard workaround, but just renaming the HEAD script solves things without (ISTR) breaking too much else.




Dennis Putnam
Sr. IT Systems Administrator
AIM Systems, Inc.
11675 Rainwater Dr., Suite 200
Alpharetta, GA  30004
Phone: 678-240-4112
Main Phone: 678-297-0700
FAX: 678-297-2666 or 770-576-1000
The information contained in this e-mail and any attachments is strictly confidential. If you are not the intended recipient, any use, dissemination, distribution, or duplication of any part of this e-mail or any attachment is prohibited. If you are not the intended recipient, please notify the sender by return e-mail and delete all copies, including the attachments.


Reply via email to