Further very bizarre info-

Another user (Alexandre Siufy) told me that on his system /usr/bin/head
is indeed the opposite of 'tail'.  So it may just be me.

BUT, when I look at the directory /usr/bin/, no 'head' file is there.
This is inconsistent, since `which head` reports /usr/bin/head, and
`less /usr/bin/head` shows me the contents of a Perl script.  And 
`perl -le 'print -e "/usr/bin/head"'` outputs 1.

But unless I'm going crazy, there's no 'head' in the output below:

[localhost:/] ken% cd /usr/bin
[localhost:/usr/bin] ken% ls h*
h2ph*            hdiutil*         hexdump*         hoststat@        htpasswd*
h2xs*            headerdoc2html*  host*            hpftodit*
hdid*            heap*            hostinfo*        htdigest*
[localhost:/usr/bin] ken% 

Does this mean my disk is damaged or inconsistent or something?


[EMAIL PROTECTED] (Ken Williams) wrote:
>Yo,
>
>I was getting some bizarre output when compiling Apache, and it seemed
>like the 'head' shell command wasn't working properly.  It turns out
>that /usr/bin/head is a Perl script for performing an HTTP 'HEAD'
>request, instead of the more standard 'head' program for viewing the
>first part of a file.
>
>Doing 'man head' gives the BSD manual page for the 'head' command I
>expected.
>
>Can anyone confirm this on their system?
>
>Are there any other Unix systems that do this?  I thought 'head' was
>pretty standard as the opposite of 'tail'.
>
>
>  -------------------                            -------------------
>  Ken Williams                             Last Bastion of Euclidity
>  [EMAIL PROTECTED]                            The Math Forum
>

  -------------------                            -------------------
  Ken Williams                             Last Bastion of Euclidity
  [EMAIL PROTECTED]                            The Math Forum

Reply via email to