From owner-freebsd-stable Sun Apr 29 22:22:32 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by hub.freebsd.org (Postfix) with ESMTP id A746C37B43C for ; Sun, 29 Apr 2001 22:22:29 -0700 (PDT) (envelope-from faber@lunabase.org) Received: from lunabase.org ([63.200.244.106]) by mta5.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0GCL00AHFAWUKR@mta5.snfc21.pbi.net> for stable@FreeBSD.ORG; Sun, 29 Apr 2001 22:22:07 -0700 (PDT) Received: from praxis.lunabase.org (praxis.lunabase.org [63.200.244.110]) by lunabase.org (8.11.3/8.11.3) with ESMTP id f3U5M6c25040; Sun, 29 Apr 2001 22:22:06 -0700 (PDT envelope-from faber@lunabase.org) Received: (from faber@localhost) by praxis.lunabase.org (8.11.3/8.11.3) id f3U5M5Y29327; Sun, 29 Apr 2001 22:22:05 -0700 (PDT envelope-from faber) X-URL: http://www.lunabase.edu/~faber Date: Sun, 29 Apr 2001 22:22:05 -0700 From: Ted Faber Subject: Re: tail In-reply-to: ; from juha@saarinen.org on Mon, Apr 30, 2001 at 05:08:47PM +1200 To: Juha Saarinen Cc: Dan Langille , Chris Byrnes , stable@FreeBSD.ORG Message-id: <20010429222205.A29058@praxis.lunabase.org> MIME-version: 1.0 Content-type: multipart/signed; micalg=php-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-disposition: inline User-Agent: Mutt/1.2.5i References: Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Apr 30, 2001 at 05:08:47PM +1200, Juha Saarinen wrote: > Well, it's silly to do that unthinkingly. Here's what happens on a Debian > box: > > juha@cyrus:~$ tail / > tail: /: Is a directory > > More desirable behaviour, IMO. FYI, and maybe surprisingly, you're about to start a flame war. BSD tail and related tools have been treating directories as files for *many* years. The behavior goes back to the earliest UNIX systems. It will not change, nor is it worth arguing about. If you hate the behavior, put a 2-line shell script around tail, cat, and whatever other programs you want that aborts the operation if the argument's a directory. --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE67PZ9aUz3f+Zf+XsRAn2KAJsHWM84KehFC1BXevJv2eepQnEa6wCgj0ij 7YjHMPzbcY2no6cGVjRA4z4= =xC5k -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message