Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2001 00:15:53 -0500
From:      Mike Meyer <mwm@mired.org>
To:        "Juha Saarinen" <juha@saarinen.org>
Cc:        "Dan Langille" <dan@langille.org>, "Chris Byrnes" <chris@jeah.net>, <stable@FreeBSD.ORG>
Subject:   RE: tail
Message-ID:  <15084.62729.75795.555796@guru.mired.org>
In-Reply-To: <KPECIILENDDLPCNIMLOFOEOICCAA.juha@saarinen.org>
References:  <Pine.BSF.4.21.0104301632200.43352-100000@lists.unixathome.org> <KPECIILENDDLPCNIMLOFOEOICCAA.juha@saarinen.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Juha Saarinen <juha@saarinen.org> 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 <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15084.62729.75795.555796>