Juha Saarinen <[EMAIL PROTECTED]> types:
> :: tail is doing as ordered. Directories and files are the same. So it's
> :: giving you the last ten lines of the file /
>
> Tail voss only obeyink orters???
>
> Well, it's silly to do that unthinkingly.
Well, yes, tail on a directory is a silly thing to do unthinkingly.
But the silly one isn't tail, it's the user who issued the command
without thinking.
> Here's what happens on a Debian box:
>
> juha@cyrus:~$ tail /
> tail: /: Is a directory
>
> More desirable behaviour, IMO.
More proof that linux isn't Unix.
On Unix, it's generally more important to make sure the user can shoot
anything they want than it is to keep the user from shooting
themselves in the foot.
<mike
--
Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message