From owner-freebsd-stable Mon Apr 30 6:24:25 2001 Delivered-To: freebsd-stable@freebsd.org Received: from krycek.zoominternet.net (krycek.zoominternet.net [63.67.120.9]) by hub.freebsd.org (Postfix) with SMTP id 0623437B422 for ; Mon, 30 Apr 2001 06:24:19 -0700 (PDT) (envelope-from dmmiller@cvzoom.net) Received: (qmail 28208 invoked from network); 30 Apr 2001 13:23:08 -0000 Received: from acs-24-154-37-140.zoominternet.net (HELO cvzoom.net) (24.154.37.140) by krycek.zoominternet.net with SMTP; 30 Apr 2001 13:23:08 -0000 Message-ID: <3AED6781.8746018D@cvzoom.net> Date: Mon, 30 Apr 2001 09:24:17 -0400 From: Donn Miller X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Juha Saarinen Cc: stable@FreeBSD.ORG Subject: Re: tail References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Juha Saarinen wrote: > > :: UNIX is about doing what you ask for. You want to tail/cat a > :: directory, who is the system to tell you otherwise. > > That's just silly. > > Who hasn't mistakenly tailed/cat'ed a directory? > > I thought the "User-unfriendliness Is Cool" era was long buried. Like so many people before you already explained, doing tail on a directory IS useful in some rare situations, like for example, using tar, and certain other things. Remember, a directory is treated as a regular file on unix filesystems. I see no reason to correct tail's behavior. If you sit there and do `tail' on a directory all day long, then you've got problems. Surely, you might want to modifiy cat's behavior, because some poor unsuspecting user might get some ugly garbage printed to his terminal when he does 'cat' on a disk device. Really, doing tail on a directory is harmless (unless, of course, looking at the binary data being printed to the tty is causing seizures). If you think Linux does things better, then what the hey, just run Linux. Linux isn't a bad OS. Why must you run FreeBSD if you like Linux better? Both are great open source OS's, and both suit different types of users. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message