Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

withnail

macrumors regular
Original poster
Feb 8, 2003
103
0
I was looking through the log for the daily or weekly cron job (can't remember which) and I noticed errors stemming from usage of the 'head' Unix command. So, when I tried to do a 'head -1' on a text file, i get an error and a usage message very different from the head command I'm used to - it looks like some kind of HTTP utility. However the man page looks like the one I know of. Anybody know what's up with this?

joe
 
nope...

I found out, though, that it was somehow screwed up by the Perl LWP module. For some reason it installed a binary called "head" in /usr/bin...weird. I found out by doing a "head -v" to check the version.

I copied a pristine version of the file back in and all is well.

:confused:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.